Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python2.7 (PTS) | jessie, jessie (lts) | 2.7.9-2-ds1-1+deb8u12 | vulnerable |
stretch (security) | 2.7.13-2+deb9u6 | vulnerable | |
stretch (lts), stretch | 2.7.13-2+deb9u9 | vulnerable | |
buster (security), buster, buster (lts) | 2.7.16-2+deb10u4 | vulnerable | |
bullseye | 2.7.18-8+deb11u1 | vulnerable | |
python3.4 (PTS) | jessie, jessie (lts) | 3.4.2-1+deb8u19 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python2.5 | source | (unstable) | (unfixed) | unimportant | ||
python2.6 | source | (unstable) | (unfixed) | unimportant | ||
python2.7 | source | (unstable) | (unfixed) | unimportant | ||
python3.1 | source | (unstable) | (unfixed) | unimportant | ||
python3.2 | source | (unstable) | (unfixed) | unimportant | ||
python3.3 | source | (unstable) | (unfixed) | unimportant | ||
python3.4 | source | (unstable) | 3.4.0-1 | unimportant |
upstream tagged this as wontfix for versions older than 3.4