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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.25% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 88.2% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2014-05-19 14:00Z12 YR AGO
- Last updated
- 2024-08-06 17:53Z2 YR AGO
- Reserved
- 2013-12-09
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 337b13aa0c0b952d6963eb57326e0d6959e31b4aa0ed523c7e1dac95bcf1ab92
05 Affected products
06 References
- www.securityfocus.com64194http://www.securityfocus.com/bid/64194
- www.openwall.com[oss-security] 20131209 Re: CPython hash secret can be recoved remotelyhttp://www.openwall.com/lists/oss-security/2013/12/09/13
- www.openwall.com[oss-security] 20131209 CPython hash secret can be recoved remotelyhttp://www.openwall.com/lists/oss-security/2013/12/09/3
- lists.apple.comAPPLE-SA-2015-08-13-2http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- bugs.python.orghttp://bugs.python.org/issue14621
- support.apple.comhttps://support.apple.com/kb/HT205031
07 Fixed in
Debian 11
- python2.7 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python2.7 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.