CVE-2013-7040

Severity

43%

Complexity

86%

Confidentiality

48%

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.

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.

CVSS 2.0 Base Score 4.3. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:N/A:P).

Overview

First reported 10 years ago

2014-05-19 14:55:00

Last updated 5 years ago

2019-10-25 11:53:00

Affected Software

Apple Mac OS X

Python 2.7.1

2.7.1

Python 2.7.1 Release Candiate 1

2.7.1

Python 2.7.2 Release Candidate 1

2.7.2

Python 2.7.3

2.7.3

Python 2.7.4

2.7.4

Python 2.7.5

2.7.5

Python 2.7.6

2.7.6

Python 2.7.7

2.7.7

Python 2.7.1150

2.7.1150

Python 2.7.2150

2.7.2150

Python 3.0

3.0

Python 3.0.1

3.0.1

Python 3.1

3.1

Python 3.1.1

3.1.1

Python 3.1.2

3.1.2

Python 3.1.3

3.1.3

Python 3.1.4

3.1.4

Python 3.1.5

3.1.5

Python 3.2

3.2

Python 3.2-alpha

3.2

Python 3.2.0

3.2.0

Python 3.2.1

3.2.1

Python 3.2.2

3.2.2

Python 3.2.3

3.2.3

Python 3.2.4

3.2.4

Python 3.2.5

3.2.5

Python 3.2.2150

3.2.2150

Python 3.3

3.3

Python 3.3 beta 2

3.3

Python 3.3.0

3.3.0

Python 3.3.1

3.3.1

Python 3.3.1 release candidate 1

3.3.1

Python 3.3.2

3.3.2

Python 3.3.3

3.3.3

Python 3.3. release candidate 1

3.3.3

Python 3.3.3 release candidate 2

3.3.3

Python 3.3.4

3.3.4

Python 3.3.4 release candidate 1

3.3.4

Python 3.3.5

3.3.5

Python 3.3.5 release candidate 1

3.3.5

Python 3.3.5 release candidate 2

3.3.5

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.