CVE-2012-2417
Summary
| CVE | CVE-2012-2417 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-06-17 03:41:40 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Dlitz | Pycrypto | 1.0.0 | All | All | All |
| Application | Dlitz | Pycrypto | 1.0.1 | All | All | All |
| Application | Dlitz | Pycrypto | 1.0.2 | All | All | All |
| Application | Dlitz | Pycrypto | 1.1 | alpha2 | All | All |
| Application | Dlitz | Pycrypto | 1.9 | alpha1 | All | All |
| Application | Dlitz | Pycrypto | 1.9 | alpha2 | All | All |
| Application | Dlitz | Pycrypto | 1.9 | alpha3 | All | All |
| Application | Dlitz | Pycrypto | 1.9 | alpha4 | All | All |
| Application | Dlitz | Pycrypto | 1.9 | alpha5 | All | All |
| Application | Dlitz | Pycrypto | 1.9 | alpha6 | All | All |
| Application | Dlitz | Pycrypto | 2.0 | All | All | All |
| Application | Dlitz | Pycrypto | 2.0.1 | All | All | All |
| Application | Dlitz | Pycrypto | 2.1.0 | All | All | All |
| Application | Dlitz | Pycrypto | 2.1.0 | alpha1 | All | All |
| Application | Dlitz | Pycrypto | 2.1.0 | alpha2 | All | All |
| Application | Dlitz | Pycrypto | 2.1.0 | beta1 | All | All |
| Application | Dlitz | Pycrypto | 2.2 | All | All | All |
| Application | Dlitz | Pycrypto | 2.3 | All | All | All |
| Application | Dlitz | Pycrypto | 2.4 | All | All | All |
| Application | Dlitz | Pycrypto | 2.4.1 | All | All | All |
| Application | Dlitz | Pycrypto | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| oss-security - CVE-2012-2417 - PyCrypto <= 2.5 insecure ElGamal key generation | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| [SECURITY] Fedora 15 Update: python-crypto-2.3-6.fc15 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 16 Update: python-crypto-2.3-6.fc16 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| www.osvdb.org/82279 | af854a3a-2127-422b-91ae-364da2661108 | www.osvdb.org | |
| Malformed Request | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Bug #985164 “ElGamal key generation is broken” : Bugs : Python-Crypto | af854a3a-2127-422b-91ae-364da2661108 | bugs.launchpad.net | |
| Security Alerts - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| [SECURITY] Fedora 17 Update: python-crypto-2.6-1.fc17 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| pycrypto/ChangeLog at 373ea760f21701b162e8c4912a66928ee30d401a · pycrypto/pycrypto · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| Support / Security / Advisories / / MDVSA-2012:117 | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| Debian -- Security Information -- DSA-2502-1 python-crypto | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Fix to bug #985164 (ElGamal key generation). Fix to missing range che… · Legrandin/pycrypto@9f912f1 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Patch |
| hermes.opensuse.org/messages/15083589 | af854a3a-2127-422b-91ae-364da2661108 | hermes.opensuse.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.