CVE-2013-7040
Python 2.7 before 3.4 only uses the last eight bits of the prefix to randomize hash values, which causes it to compute hash values without restricting the ability to trigger hash collisions predictably and makes it easier for context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1150.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | python2.7 | Fix pending | UBUNTU-CVE-2013-7040 | |
| Red Hat Enterprise Linux 7 | python | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python-debug | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python-test | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | python-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tkinter | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | python | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | python-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | python-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | python-test | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | python-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | tkinter | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | python | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html (vendor-advisory)
References
- http://www.securityfocus.com/bid/64194
- http://www.openwall.com/lists/oss-security/2013/12/09/13
- http://www.openwall.com/lists/oss-security/2013/12/09/3
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://bugs.python.org/issue14621
- https://support.apple.com/kb/HT205031
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.