{"id":"GHSA-cq27-v7xp-c356","summary":"Buffer Overflow in pycrypto","details":"Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py.","aliases":["CVE-2013-7459","PYSEC-2017-94"],"modified":"2024-10-18T22:23:12.251504Z","published":"2018-12-14T18:51:38Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-119"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:32:15Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-7459"},{"type":"WEB","url":"https://github.com/dlitz/pycrypto/issues/176"},{"type":"WEB","url":"https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1409754"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cq27-v7xp-c356"},{"type":"PACKAGE","url":"https://github.com/dlitz/pycrypto"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2017-94.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE"},{"type":"WEB","url":"https://security.gentoo.org/glsa/201702-14"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/12/27/8"}],"affected":[{"package":{"name":"pycrypto","ecosystem":"PyPI","purl":"pkg:pypi/pycrypto"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.1"}]}],"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","2.6","2.6.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/12/GHSA-cq27-v7xp-c356/GHSA-cq27-v7xp-c356.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}