Cryptographic issues in PyCrypto - CVE-2012-2417

 

Cryptographic issues in PyCrypto - CVE-2012-2417

Published: June 17, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43979
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-2417
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal scheme to generate a key, which reduces the signature space or public key space and makes it easier for attackers to conduct brute force attacks to obtain the private key.


Affected software

PyCrypto
Amazon Linux AMI
Gentoo Linux
Fedora
py-crypto (Alpine package)
python-crypto
IBM Cloud Pak System
IBM Watson Machine Learning Accelerator

How to mitigate CVE-2012-2417

Install update from vendor's website.

py-crypto (Alpine package) - update to 2.6-r0
IBM Cloud Pak System - update to 2.3.3.6
python-crypto - update to 2.0.1-5.el5
IBM Watson Machine Learning Accelerator - update to 4.0

External References

Related Security Bulletins