CVE-2013-7459 Buffer Overflow in pycrypto
Remote attackers can execute arbitrary code via a heap-based buffer overflow in the Python Cryptography Toolkit's ALGnew function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-7459?
CVE-2013-7459 is a critical memory corruption vulnerability in Fedoraproject Fedora, published on 15 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2013-7459?
3 open source packages ship an affected version, including pycrypto. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
pycrypto PyPI | All versions | None |
pycrypto PyPI | All versions to 2.6.1 | None |
pycrypto PyPI | All versions to 2.6.1 | None |
Linux distribution packages (18)
python-paramiko SUSE:Enterprise Storage 3 | All versions | 1.15.2-2.3.1 |
python-pycrypto SUSE:Enterprise Storage 3 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Enterprise Storage 4 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Linux Enterprise Module for Advanced Systems Management 12 | All versions | 2.6.1-10.3.1 |
python-paramiko SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 1.15.2-2.6.1 |
python-pycrypto SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Linux Enterprise Module for Web and Scripting 12 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Linux Enterprise Point of Sale 12 SP2 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Linux Enterprise Server 11 SP3-CLIENT-TOOLS | All versions | 2.6.1-5.1 |
python-pycrypto SUSE:Linux Enterprise Server 11 SP4-CLIENT-TOOLS | All versions | 2.6.1-5.1 |
python-pycrypto SUSE:Manager Client Tools 12 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Manager Proxy 3.0 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Manager Proxy 3.1 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Manager Server 3.0 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:Manager Server 3.1 | All versions | 2.6.1-10.3.1 |
python-paramiko SUSE:OpenStack Cloud 6 | All versions | 1.15.2-2.3.1 |
python-pycrypto SUSE:OpenStack Cloud 6 | All versions | 2.6.1-10.3.1 |
python-pycrypto SUSE:OpenStack Cloud 7 | All versions | 2.6.1-10.3.1 |
Products include Dlitz Pycrypto, Fedoraproject Fedora.
How do I fix CVE-2013-7459?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2013-7459 being exploited?
There is no known exploitation of CVE-2013-7459 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DLA-773-1, GHSA-cq27-v7xp-c356, MGASA-2017-0032, PYSEC-2017-94, SUSE-SU-2017:1744-1, SUSE-SU-2017:2350-1 and 3 more.