CVE-2013-7459
critical
CVSS v3
9.8
CVSS v2
7.5
VIR risk
9.8
Description
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.
Predictions
Exploit likelihood
97%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: cve@mitre.org — https://github.com/dlitz/pycrypto/issues/176
Vendor advisory: cve@mitre.org — https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2013-7459.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| fedora | 24 | affected | |
| fedora | 25 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| dlitz | pycrypto | {"endIncluding":"2.6.1"} | |
References
- https://www.suse.com/security/cve/CVE-2013-7459.html
- http://www.openwall.com/lists/oss-security/2016/12/27/8
- http://www.securityfocus.com/bid/95122
- https://bugzilla.redhat.com/show_bug.cgi?id=1409754
- https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
- https://github.com/dlitz/pycrypto/issues/176
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
- https://pony7.fr/ctf:public:32c3:cryptmsg
- https://security.gentoo.org/glsa/201702-14
- https://nvd.nist.gov/vuln/detail/CVE-2013-7459
- https://github.com/advisories/GHSA-cq27-v7xp-c356
- https://github.com/dlitz/pycrypto
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2017-94.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
CWEs
CWE-119
Verify integrity in audit chain (admin only). AS-IS.