CVE-2013-7459
pycrypto: Heap-buffer overflow in ALGobject structure
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Amazon (high), Photon OS (high), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | pycrypto | no fix listed |
| amazon linux 1 | python-crypto-debuginfo, python26-crypto, python27-crypto | 2.6.1-1.14.amzn1 |
| debian 7 | python-crypto | 2.6-4+deb7u4 |
| debian 8 | python-crypto | 2.6.1-5+deb8u1 |
| Photon OS 1.0 | pycrypto | 2.6.1-2.ph1 |
| Photon OS 2.0 | pycrypto | 2.6.1-3.ph2 |
| Red Hat | python-crypto, python2-crypto | no fix listed |
| ubuntu 14.04 | python-crypto | 2.6.1-4ubuntu0.1 |
| ubuntu 14.04-ESM | python-crypto | 2.6.1-4ubuntu0.1 |
| ubuntu 16.04 | python-crypto | 2.6.1-6ubuntu0.16.04.1 |
| ubuntu 16.04-ESM | python-crypto | 2.6.1-6ubuntu0.16.04.1 |
| ubuntu 16.10 | python-crypto | 2.6.1-6ubuntu0.16.10.2 |
Show all 15 entries from 12 sources
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | pycrypto | no fix listed |
| amazon linux 1 | python-crypto-debuginfo | 2.6.1-1.14.amzn1 |
| amazon linux 1 | python26-crypto | 2.6.1-1.14.amzn1 |
| amazon linux 1 | python27-crypto | 2.6.1-1.14.amzn1 |
| debian 7 | python-crypto | 2.6-4+deb7u4 |
| debian 8 | python-crypto | 2.6.1-5+deb8u1 |
| Photon OS 1.0 | pycrypto | 2.6.1-2.ph1 |
| Photon OS 2.0 | pycrypto | 2.6.1-3.ph2 |
| Red Hat | python-crypto | no fix listed |
| Red Hat | python2-crypto | no fix listed |
| ubuntu 14.04 | python-crypto | 2.6.1-4ubuntu0.1 |
| ubuntu 14.04-ESM | python-crypto | 2.6.1-4ubuntu0.1 |
| ubuntu 16.04 | python-crypto | 2.6.1-6ubuntu0.16.04.1 |
| ubuntu 16.04-ESM | python-crypto | 2.6.1-6ubuntu0.16.04.1 |
| ubuntu 16.10 | python-crypto | 2.6.1-6ubuntu0.16.10.2 |
References
- http://www.openwall.com/lists/oss-security/2016/12/27/8
- http://www.securityfocus.com/bid/95122
- https://access.redhat.com/security/cve/CVE-2013-7459
- https://bugzilla.redhat.com/show_bug.cgi?id=1409754
- https://github.com/advisories/GHSA-cq27-v7xp-c356
- https://github.com/dlitz/pycrypto
- https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
- https://github.com/dlitz/pycrypto/issues/176
All 20 references
- 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/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://nvd.nist.gov/vuln/detail/CVE-2013-7459
- https://pony7.fr/ctf:public:32c3:cryptmsg
- https://security.gentoo.org/glsa/201702-14
- https://ubuntu.com/security/notices/USN-3199-1
- https://ubuntu.com/security/notices/USN-3199-2
- https://ubuntu.com/security/notices/USN-3199-3
- https://www.cve.org/CVERecord?id=CVE-2013-7459