PT-2013-6249 · Python+2 · Python+2

Nick Coghlan

·

Published

2013-12-18

·

Updated

2019-10-25

·

CVE-2013-7040

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:N/A:P
Name of the Vulnerable Software and Affected Versions Python versions prior to 3.4
Description The issue causes Python to compute hash values without properly restricting the ability to trigger hash collisions predictably. This makes it easier for attackers to cause a denial of service via crafted input to an application that maintains a hash table, resulting in CPU consumption.
Recommendations For versions prior to 3.4, consider upgrading to a version that properly randomizes hash values to prevent predictable hash collisions. As a temporary workaround, consider implementing additional checks or restrictions on input to applications that maintain hash tables to minimize the risk of exploitation.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2014-2376
ALT-PU-2016-1294
CVE-2013-7040
PSF-2014-2

Affected Products

Alt Linux
Debian
Python