Vulnerability Database

289,697

Total vulnerabilities in the database

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.

  • Published: May 19, 2014
  • Updated: Apr 13, 2023
  • CVE: CVE-2013-7040
  • Severity: Low
  • Exploit:

CVSS v2:

  • Severity: Low
  • Score: 4.3
  • AV:N/AC:M/Au:N/C:N/I:N/A:P

CWEs:

Software From Fixed in
apple / mac_os_x - 10.10.4.x
python / python 2.7.6 2.7.6.x
python / python 3.3.5 3.3.5.x
python / python 3.1 3.1.x
python / python 3.3.3-rc2 3.3.3-rc2.x
python / python 3.1.1 3.1.1.x
python / python 3.3.2 3.3.2.x
python / python 3.0 3.0.x
python / python 3.3.1-rc1 3.3.1-rc1.x
python / python 3.0.1 3.0.1.x
python / python 3.2.2 3.2.2.x
python / python 3.3 3.3.x
python / python 3.2.5 3.2.5.x
python / python 3.1.5 3.1.5.x
python / python 3.2.2150 3.2.2150.x
python / python 3.3.4-rc1 3.3.4-rc1.x
python / python 2.7.4 2.7.4.x
python / python 3.2.1 3.2.1.x
python / python 3.2.0 3.2.0.x
python / python 3.3.1 3.3.1.x
python / python 3.3.3-rc1 3.3.3-rc1.x
python / python 2.7.1 2.7.1.x
python / python 3.1.2 3.1.2.x
python / python 2.7.1150 2.7.1150.x
python / python 2.7.3 2.7.3.x
python / python 2.7.1-rc1 2.7.1-rc1.x
python / python 3.3.4 3.3.4.x
python / python 3.2.3 3.2.3.x
python / python 3.3.5-rc2 3.3.5-rc2.x
python / python 2.7.2-rc1 2.7.2-rc1.x
python / python 2.7.7 2.7.7.x
python / python 3.3.5-rc1 3.3.5-rc1.x
python / python 3.2 3.2.x
python / python 2.7.5 2.7.5.x
python / python 3.3.0 3.3.0.x
python / python 3.3.3 3.3.3.x
python / python 3.2.4 3.2.4.x
python / python 2.7.2150 2.7.2150.x
python / python 3.2-alpha 3.2-alpha.x
python / python 3.3-beta2 3.3-beta2.x
python / python 3.1.3 3.1.3.x
python / python 3.1.4 3.1.4.x