CVE-2012-2417

python-crypto: Insecure ElGamal key generation

Published Jun 17, 2012 CVSS 2.0 · 4.3 Medium EPSS 2.4% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2502-1 python-crypto security update
EUVD EUVD EUVD-2012-0026 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.
Github GHSA Github GHSA GHSA-v367-p58w-98h5 PyCrypto makes Use of Insufficiently Random Values
Ubuntu USN Ubuntu USN USN-1484-1 PyCrypto vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 7:34 PM
Reserved
Apr 24, 2012, 12:00 AM
Status
Modified
Published
Jun 17, 2012, 3:41 AM
Modified
Jun 16, 2026, 11:41 PM
Severity
Moderate
Public date
Apr 18, 2012, 12:00 AM