{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "python-crypto", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "affected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2012-2417"}], "descriptions": [{"lang": "en", "value": "The CVE program describes this issue as: 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."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2012-04-18T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "suse", "product": "python3-pycrypto", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.6.1-1.28", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:ses:6", "cpe:/o:suse:sle-module-basesystem:15", "cpe:/o:suse:sle-module-basesystem:15:sp1", "cpe:/o:suse:sle_hpc:15", "cpe:/o:suse:sle_hpc:15:sp1", "cpe:/o:suse:sled:15", "cpe:/o:suse:sled:15:sp1", "cpe:/o:suse:sles:15", "cpe:/o:suse:sles:15:sp1", "cpe:/o:suse:sles_sap:15", "cpe:/o:suse:sles_sap:15:sp1", "cpe:/o:suse:suse-manager-proxy:4.0", "cpe:/o:suse:suse-manager-retail-branch-server:4.0"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "python2-pycrypto", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.6.1-1.28", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sle-module-basesystem:15", "cpe:/o:suse:sle_hpc:15", "cpe:/o:suse:sled:15", "cpe:/o:suse:sles:15", "cpe:/o:suse:sles_sap:15"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 764127"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2417", "name": "Mitre CVE-2012-2417"}, {"url": "https://www.suse.com/security/cve/CVE-2012-2417", "name": "SUSE CVE-2012-2417"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2012-July/000177.html", "name": "SUSE-SU-2012:0869-1"}], "descriptions": [{"lang": "en", "value": "\n    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.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_desktop_15"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "suse", "product": "python3-pycrypto", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.6.1-1.28", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:ses:6", "cpe:/o:suse:sle-module-basesystem:15", "cpe:/o:suse:sle-module-basesystem:15:sp1", "cpe:/o:suse:sle_hpc:15", "cpe:/o:suse:sle_hpc:15:sp1", "cpe:/o:suse:sled:15", "cpe:/o:suse:sled:15:sp1", "cpe:/o:suse:sles:15", "cpe:/o:suse:sles:15:sp1", "cpe:/o:suse:sles_sap:15", "cpe:/o:suse:sles_sap:15:sp1", "cpe:/o:suse:suse-manager-proxy:4.0", "cpe:/o:suse:suse-manager-retail-branch-server:4.0"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "python2-pycrypto", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.6.1-1.28", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sle-module-basesystem:15", "cpe:/o:suse:sle_hpc:15", "cpe:/o:suse:sled:15", "cpe:/o:suse:sles:15", "cpe:/o:suse:sles_sap:15"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 764127"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2417", "name": "Mitre CVE-2012-2417"}, {"url": "https://www.suse.com/security/cve/CVE-2012-2417", "name": "SUSE CVE-2012-2417"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2012-July/000177.html", "name": "SUSE-SU-2012:0869-1"}], "descriptions": [{"lang": "en", "value": "\n    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.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_server_15"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "suse", "product": "python-pycrypto", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.6.1-1.18", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sle_hpc:12", "cpe:/o:suse:sles-ltss-extended-security:12:sp5", "cpe:/o:suse:sles:12", "cpe:/o:suse:sles:12:sp3", "cpe:/o:suse:sles:12:sp4", "cpe:/o:suse:sles:12:sp5", "cpe:/o:suse:sles_sap:12", "cpe:/o:suse:sles_sap:12:sp3", "cpe:/o:suse:sles_sap:12:sp4", "cpe:/o:suse:sles_sap:12:sp5"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 764127"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2417", "name": "Mitre CVE-2012-2417"}, {"url": "https://www.suse.com/security/cve/CVE-2012-2417", "name": "SUSE CVE-2012-2417"}, {"url": "https://lists.suse.com/pipermail/sle-security-updates/2012-July/000177.html", "name": "SUSE-SU-2012:0869-1"}], "descriptions": [{"lang": "en", "value": "\n    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.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2021-04-30T00:00:00Z", "x_subShortName": "suse_server_12"}}, {"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 5.3, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 6.9, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N", "userInteraction": "NONE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "subIntegrityImpact": "NONE", "vulnIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "vulnConfidentialityImpact": "LOW"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "pypi", "product": "pycrypto", "versions": [{"status": "affected", "version": "0", "lessThan": "2.6", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html"}, {"url": "http://secunia.com/advisories/49263"}, {"url": "http://www.debian.org/security/2012/dsa-2502"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:117"}, {"url": "http://www.openwall.com/lists/oss-security/2012/05/25/1"}, {"url": "http://www.osvdb.org/82279"}, {"url": "http://www.securityfocus.com/bid/53687"}, {"url": "https://bugs.launchpad.net/pycrypto/+bug/985164"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/75871"}, {"url": "https://github.com/Legrandin/pycrypto"}, {"url": "https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2"}, {"url": "https://github.com/advisories/GHSA-v367-p58w-98h5"}, {"url": "https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2012-16.yaml"}, {"url": "https://hermes.opensuse.org/messages/15083589"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2417"}, {"url": "https://web.archive.org/web/20140724111917/http://secunia.com/advisories/49263"}, {"url": "https://web.archive.org/web/20200228184120/http://www.securityfocus.com/bid/53687"}], "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."}, {"lang": "en", "value": "PyCrypto makes Use of Insufficiently Random Values"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2012-06-17T03:41:00Z", "x_subShortName": "pypi"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 4.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"vendor": "amazon", "product": "python-crypto", "versions": [{"status": "affected", "version": "0", "lessThan": "2.3-6.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}, {"vendor": "amazon", "product": "python-crypto-debuginfo", "versions": [{"status": "affected", "version": "0", "lessThan": "2.3-6.5.amzn1", "versionType": "rpm"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2417"}], "descriptions": [{"lang": "en", "value": "python-crypto: Insecure ElGamal key generation"}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000000", "shortName": "alas", "dateUpdated": "2012-06-11T10:27:00Z", "x_subShortName": "alas_1"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.1:alpha2:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.9:alpha1:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.9:alpha2:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.9:alpha3:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.9:alpha4:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.9:alpha5:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:1.9:alpha6:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.0:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.1.0:alpha1:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.1.0:alpha2:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.1.0:beta1:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.2:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.3:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.4.1:*:*:*:*:*:*:*", "cpe:2.3:a:dlitz:pycrypto:2.4:*:*:*:*:*:*:*"], "vendor": "dlitz", "product": "pycrypto", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "2.5"}, {"status": "affected", "version": "1.0.0"}, {"status": "affected", "version": "1.0.1"}, {"status": "affected", "version": "1.0.2"}, {"status": "affected", "version": "1.1"}, {"status": "affected", "version": "1.9"}, {"status": "affected", "version": "2.0"}, {"status": "affected", "version": "2.0.1"}, {"status": "affected", "version": "2.1.0"}, {"status": "affected", "version": "2.2"}, {"status": "affected", "version": "2.3"}, {"status": "affected", "version": "2.4"}, {"status": "affected", "version": "2.4.1"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2", "tags": ["exploit", "patch"]}, {"url": "http://secunia.com/advisories/49263", "tags": ["vendor-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html"}, {"url": "http://www.debian.org/security/2012/dsa-2502"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:117"}, {"url": "http://www.openwall.com/lists/oss-security/2012/05/25/1"}, {"url": "http://www.osvdb.org/82279"}, {"url": "http://www.securityfocus.com/bid/53687"}, {"url": "https://bugs.launchpad.net/pycrypto/+bug/985164"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/75871"}, {"url": "https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog"}, {"url": "https://hermes.opensuse.org/messages/15083589"}], "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."}, {"lang": "es", "value": "Pycrypto anterior a v2.6 no genera adecuadamente los números primos cuando se utiliza un esquema basado en ElGamal para generar una clave, lo que reduce el espacio de la firma o el espacio de claves pública y hace más fácil para los atacantes para llevar a cabo ataques de fuerza bruta para obtener la clave privada."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-310", "description": "CWE-310"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-06-17T03:41:40Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-2417", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2012-06-17T03:41:40Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}