Cryptographic issues in Python - CVE-2012-1150

 

Cryptographic issues in Python - CVE-2012-1150

Published: October 6, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43428
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-1150
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

Python before 2.6.8, 2.7.x before 2.7.3, 3.x before 3.1.5, and 3.2.x before 3.2.3 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.


Affected software

Python
Amazon Linux AMI
Gentoo Linux
Fedora
python26
dev-lang/python

How to mitigate CVE-2012-1150

Install update from vendor's website.

python26 - update to 2.6.8-1.el5
dev-lang/python - update to 3.3.2-r1

External References

Related Security Bulletins