critical9.8
CVE-2013-7459
Buffer Overflow in pycrypto
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pycrypto | <= 2.6.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dlitz | Pycrypto | through 2.6.1 |
| Fedoraproject | Fedora | Versions 24, 25 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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://github.com/advisories/GHSA-cq27-v7xp-c356
- https://nvd.nist.gov/vuln/detail/CVE-2013-7459
- 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