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 predictabl...
MediumCVSS 4.3
EPSS 3.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python2.7(Debian:11) | All versions | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-10 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-11 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-12 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-13 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-13.1 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-13.1~exp1 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-13.2 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-8 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-8+deb11u1 | No fix listed |
| debian/python2.7(Debian:11) | = 2.7.18-9 | No fix listed |
| apple mac os x | <= 10.10.4 | No fix listed |
| python | = 2.7.1 | No fix listed |
| python | = 2.7.1-rc1 | No fix listed |
| python | = 2.7.2-rc1 | No fix listed |
| python | = 2.7.3 | No fix listed |
| python | = 2.7.4 | No fix listed |
| python | = 2.7.5 | No fix listed |
| python | = 2.7.6 | No fix listed |
| python | = 2.7.7 | No fix listed |
| python | = 2.7.1150 | No fix listed |
| python | = 2.7.2150 | No fix listed |
| python | = 3.0 | No fix listed |
| python | = 3.0.1 | No fix listed |
| python | = 3.1 | No fix listed |
Show 28 more
| Product | Affected versions | Fixed in |
|---|---|---|
| python | = 3.1.1 | No fix listed |
| python | = 3.1.2 | No fix listed |
| python | = 3.1.3 | No fix listed |
| python | = 3.1.4 | No fix listed |
| python | = 3.1.5 | No fix listed |
| python | = 3.2 | No fix listed |
| python | = 3.2-alpha | No fix listed |
| python | = 3.2.0 | No fix listed |
| python | = 3.2.1 | No fix listed |
| python | = 3.2.2 | No fix listed |
| python | = 3.2.3 | No fix listed |
| python | = 3.2.4 | No fix listed |
| python | = 3.2.5 | No fix listed |
| python | = 3.2.2150 | No fix listed |
| python | = 3.3 | No fix listed |
| python | = 3.3-beta2 | No fix listed |
| python | = 3.3.0 | No fix listed |
| python | = 3.3.1 | No fix listed |
| python | = 3.3.1-rc1 | No fix listed |
| python | = 3.3.2 | No fix listed |
| python | = 3.3.3 | No fix listed |
| python | = 3.3.3-rc1 | No fix listed |
| python | = 3.3.3-rc2 | No fix listed |
| python | = 3.3.4 | No fix listed |
| python | = 3.3.4-rc1 | No fix listed |
| python | = 3.3.5 | No fix listed |
| python | = 3.3.5-rc1 | No fix listed |
| python | = 3.3.5-rc2 | No fix listed |
References
- security-tracker.debian.org vendor-advisory
- bugs.python.org
- APPLE-SA-2015-08-13-2 vendor-advisory
- [oss-security] 20131209 Re: CPython hash secret can be recoved remotely mailing-list
- [oss-security] 20131209 CPython hash secret can be recoved remotely mailing-list
- 64194 vdb-entry
- support.apple.com vendor-advisory