{"id":"PYSEC-2012-16","details":"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.","aliases":["CVE-2012-2417","GHSA-v367-p58w-98h5"],"modified":"2024-04-30T15:11:46.919052Z","published":"2012-06-17T03:41:00Z","references":[{"type":"FIX","url":"https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2"},{"type":"WEB","url":"https://bugs.launchpad.net/pycrypto/+bug/985164"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/05/25/1"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html"},{"type":"WEB","url":"https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog"},{"type":"ADVISORY","url":"http://secunia.com/advisories/49263"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html"},{"type":"WEB","url":"http://www.osvdb.org/82279"},{"type":"WEB","url":"http://www.securityfocus.com/bid/53687"},{"type":"WEB","url":"https://hermes.opensuse.org/messages/15083589"},{"type":"ADVISORY","url":"http://www.debian.org/security/2012/dsa-2502"},{"type":"ADVISORY","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:117"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75871"}],"affected":[{"package":{"name":"pycrypto","ecosystem":"PyPI","purl":"pkg:pypi/pycrypto"},"ranges":[{"type":"GIT","repo":"https://github.com/Legrandin/pycrypto","events":[{"introduced":"0"},{"fixed":"9f912f13df99ad3421eff360d6a62d7dbec755c2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6"}]}],"versions":["1.9a2","1.9a5","1.9a6","2.0","2.0.1","2.1.0","2.2","2.3","2.4","2.4.1","2.5"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/pycrypto/PYSEC-2012-16.yaml"}}],"schema_version":"1.7.3"}