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.0: 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/E:U/U:Green
CVE-ID: CVE-2012-2417
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
PyCrypto

Detailed vulnerability description

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.


How to mitigate CVE-2012-2417

Install update from vendor's website.

Sources