CVE-2013-7459 json
Buffer Overflow in pycrypto
published 9y ago modified 4mo ago also GHSA-cq27-v7xp-c356 , PYSEC-2017-94 , EUVD-2017-0102
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.6%
- EPSS 9.6% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- python-crypto Ubuntu 14.04 LTS 2.6.1-4ubuntu0.1
- python-crypto Ubuntu 16.04 LTS 2.6.1-6ubuntu0.16.04.1
ubuntu advisories UBUNTU-CVE-2013-7459
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-pycrypto SLE Point of Sale 12 SP2, SLE Module for Web and Scripting 12, SLE Module for Public Cloud 12 +10 more 2.6.1-10.3.1
- python-paramiko OpenStack Cloud 6, Enterprise Storage 3 1.15.2-2.3.1
- python-paramiko SLE Module for Public Cloud 12 1.15.2-2.6.1
- python-pycrypto SLES 11 SP4-CLIENT-TOOLS, SLES 11 SP3-CLIENT-TOOLS 2.6.1-5.1
suse advisories SUSE-SU-2017:2350-1SUSE-SU-2017:1744-1
Is CVE-2013-7459 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-7459 updated cvss 9.8
pycrypto: Heap-buffer overflow in ALGobject structure
-
Red Hat Ceph Storage 1.3 python-crypto Red Hat Ceph Storage 2 python-crypto Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-crypto Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) python-crypto, python2-crypto Red Hat OpenShift Enterprise 3 python-crypto, python2-crypto Red Hat OpenStack Platform 8 (Liberty) python-crypto, python2-cryptoaffected: no fix planned “Will not fix”
+6 more productsfewer
Red Hat OpenStack Platform 9 (Mitaka) python-crypto, python2-crypto Red Hat OpenStack Platform 10 (Newton) python-crypto, python2-crypto Red Hat OpenStack Platform 11 (Ocata) python-crypto Red Hat Storage 3 python-crypto, python2-crypto Red Hat Storage Console 2 python-crypto Red Hat Virtualization 4 python-crypto -
Red Hat Enterprise Linux 6 python-crypto Red Hat Enterprise Linux 7 python-crypto Red Hat Enterprise Virtualization 3 python-crypto Red Hat OpenStack Platform 12 (Pike) python2-crypto Red Hat Quickstart Cloud Installer 1 python-cryptonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
9.58% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- pony7.fr https://pony7.fr/ctf:public:32c3:cryptmsg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pycrypto | <=2.6.1 all versions |
no fix listed |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
web, patch
-
github.com
/dlitz/pycrypto/issues/176
web, patch, vendor-advisory, report
-
pony7.fr
/ctf:public:32c3:cryptmsg
exploit, technical-description, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
vendor-advisory
-
security.gentoo.org
/glsa/201702-14
vendor-advisory, web, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1409754
web, issue-tracking, third-party-advisory, vdb-entry, report
-
openwall.com
/lists/oss-security/2016/12/27/8
mailing-list, web, third-party-advisory
-
securityfocus.com
/bid/95122
vdb-entry, third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-7459
advisory
-
github.com
/advisories/GHSA-cq27-v7xp-c356
advisory
-
github.com
/dlitz/pycrypto
package
-
github.com
/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2017-94.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/RJ37R2YLX56YZABFNAOWV4VTHTGYREAE/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/C6BWNADPLKDBBQBUT3P75W7HAJCE7M3B/
web
Sources
- CVE List CVE-2013-7459
- GitHub Advisory GHSA-cq27-v7xp-c356
- NVD CVE-2013-7459
- OSV PYSEC-2017-94
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.