SecurityContext

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

IdName
CWE-310—

Public exploits

UrlSourceAdded date
https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2nvd2012-06-17

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2Exploit, Patch
http://secunia.com/advisories/49263Vendor Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html
http://www.debian.org/security/2012/dsa-2502
http://www.mandriva.com/security/advisories?name=MDVSA-2012:117
http://www.openwall.com/lists/oss-security/2012/05/25/1
http://www.osvdb.org/82279
http://www.securityfocus.com/bid/53687

Products

ProductAffectedPlatform boundSourcesUrl
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.0nonvd/v1/products/dlitz/pycrypto

Projects

RepositoryLink kindsIndexedUrl
Legrandin/pycryptocommit, fix, packageyes/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