{"id":"CVE-2012-2417","state":"PUBLISHED","title":"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 ea","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.","publishedAt":"2012-06-17T01:00:00.000Z","updatedAt":"2024-08-06T19:34:25.430Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.debian.org/security/2012/dsa-2502","http://www.osvdb.org/82279","http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html","https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2","http://www.mandriva.com/security/advisories?name=MDVSA-2012:117","http://www.securityfocus.com/bid/53687","https://bugs.launchpad.net/pycrypto/+bug/985164","http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html","http://secunia.com/advisories/49263","http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html","http://www.openwall.com/lists/oss-security/2012/05/25/1","https://hermes.opensuse.org/messages/15083589","https://exchange.xforce.ibmcloud.com/vulnerabilities/75871","https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:19.239Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/2xxx/CVE-2012-2417.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-2417","state":"PUBLISHED","datePublished":"2012-06-17T01:00:00.000Z","dateUpdated":"2024-08-06T19:34:25.430Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2012-04-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.debian.org/security/2012/dsa-2502","name":"DSA-2502","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.osvdb.org/82279","name":"82279","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html","name":"FEDORA-2012-8470","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2","tags":["x_refsource_MISC"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:117","name":"MDVSA-2012:117","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.securityfocus.com/bid/53687","name":"53687","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugs.launchpad.net/pycrypto/+bug/985164","tags":["x_refsource_MISC"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html","name":"FEDORA-2012-8392","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/49263","name":"49263","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html","name":"FEDORA-2012-8490","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/25/1","name":"[oss-security] 20120524 CVE-2012-2417 - PyCrypto <= 2.5 insecure ElGamal key generation","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://hermes.opensuse.org/messages/15083589","name":"openSUSE-SU-2012:0830","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75871","name":"pycrypto-keys-weak-security(75871)","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2012-04-18T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-2417","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-2502","refsource":"DEBIAN","url":"http://www.debian.org/security/2012/dsa-2502"},{"name":"82279","refsource":"OSVDB","url":"http://www.osvdb.org/82279"},{"name":"FEDORA-2012-8470","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html"},{"name":"https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2","refsource":"MISC","url":"https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2"},{"name":"MDVSA-2012:117","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:117"},{"name":"53687","refsource":"BID","url":"http://www.securityfocus.com/bid/53687"},{"name":"https://bugs.launchpad.net/pycrypto/+bug/985164","refsource":"MISC","url":"https://bugs.launchpad.net/pycrypto/+bug/985164"},{"name":"FEDORA-2012-8392","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html"},{"name":"49263","refsource":"SECUNIA","url":"http://secunia.com/advisories/49263"},{"name":"FEDORA-2012-8490","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html"},{"name":"[oss-security] 20120524 CVE-2012-2417 - PyCrypto <= 2.5 insecure ElGamal key generation","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/05/25/1"},{"name":"openSUSE-SU-2012:0830","refsource":"SUSE","url":"https://hermes.opensuse.org/messages/15083589"},{"name":"pycrypto-keys-weak-security(75871)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75871"},{"name":"https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog","refsource":"CONFIRM","url":"https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.debian.org/security/2012/dsa-2502","name":"DSA-2502","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.osvdb.org/82279","name":"82279","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html","name":"FEDORA-2012-8470","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:117","name":"MDVSA-2012:117","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/53687","name":"53687","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://bugs.launchpad.net/pycrypto/+bug/985164","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html","name":"FEDORA-2012-8392","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/49263","name":"49263","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html","name":"FEDORA-2012-8490","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2012/05/25/1","name":"[oss-security] 20120524 CVE-2012-2417 - PyCrypto <= 2.5 insecure ElGamal key generation","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://hermes.opensuse.org/messages/15083589","name":"openSUSE-SU-2012:0830","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75871","name":"pycrypto-keys-weak-security(75871)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T19:34:25.430Z"}}]}}}