CVE-2013-7040
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| macos | affected | | |
| debian | bullseye | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python | python | 2.7.1 | |
| python | python | 2.7.2 | |
| python | python | 2.7.3 | |
| python | python | 2.7.4 | |
| python | python | 2.7.5 | |
| python | python | 2.7.6 | |
| python | python | 2.7.7 | |
| python | python | 2.7.1150 | |
| python | python | 2.7.2150 | |
| python | python | 3.0 | |
| python | python | 3.0.1 | |
| python | python | 3.1 | |
| python | python | 3.1.1 | |
| python | python | 3.1.2 | |
| python | python | 3.1.3 | |
| python | python | 3.1.4 | |
| python | python | 3.1.5 | |
| python | python | 3.2 | |
| python | python | 3.2.0 | |
| python | python | 3.2.1 | |
| python | python | 3.2.2 | |
| python | python | 3.2.3 | |
| python | python | 3.2.4 | |
| python | python | 3.2.5 | |
| python | python | 3.2.2150 | |
| python | python | 3.3 | |
| python | python | 3.3.0 | |
| python | python | 3.3.1 | |
| python | python | 3.3.2 | |
| python | python | 3.3.3 | |
| python | python | 3.3.4 | |
| python | python | 3.3.5 | |
References
- http://bugs.python.org/issue14621
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://www.openwall.com/lists/oss-security/2013/12/09/13
- http://www.openwall.com/lists/oss-security/2013/12/09/3
- http://www.securityfocus.com/bid/64194
- https://support.apple.com/kb/HT205031
- https://security-tracker.debian.org/tracker/CVE-2013-7040
CWEs
CWE-310
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.