CVE-2012-2417: PyCrypto - Weak Cryptography
- Cve: CVE-2012-2417
- Name: PyCrypto - Weak Cryptography
- 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.
- Impact: Attackers can perform brute force attacks to recover private keys, compromising system security.
- Remediation: Update to PyCrypto 2.6 or later version.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
- Epss score: 0.02357
- Epss percentile: 0.84176
- Assignee: [email protected]
- Published at: 2012-06-17T03:41:40Z
- Age in days: 5273
- Modified at: 2026-06-16T23:41:31Z
- Patch available: yes
- Public exploits total: 1
- References total: 14
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-2417
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-310 | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2 | nvd | 2012-06-17 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dlitz:pycrypto | = 1.9 alpha6, = 1.9 alpha5, = 1.9 alpha4, = 1.9 alpha3, <= 2.5, = 2.4.1, = 2.4, = 2.3, = 2.2, = 2.1.0, = 2.1.0 alpha1, = 2.1.0 alpha2, = 2.1.0 beta1, = 2.0.1, = 2.0, = 1.1 alpha2, = 1.9 alpha2, = 1.9 alpha1, = 1.0.2, = 1.0.1, = 1.0.0 | no | nvd | /v1/products/dlitz/pycrypto |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Legrandin/pycrypto | commit, fix, package | yes | /v1/repositories/Legrandin/pycrypto |
Index
- Repositories: 17
- Repositories high signal: 2
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2012-06-17
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts