#VU43428 Cryptographic issues in Python - CVE-2012-1150


| Updated: 2020-08-11

Vulnerability identifier: #VU43428

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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/E:U/U:Green]

CVE-ID: CVE-2012-1150

CWE-ID: CWE-310

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Python
Universal components / Libraries / Scripting languages

Vendor: Python.org

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Python: 0.9.0 - 0.9.1, 1.2 - 1.6.1, 2.0 - 2.0.1, 2.1 - 2.1.3, 2.2 - 2.2.3, 2.3.1 - 2.3.7, 2.4.1 - 2.4.6, 2.5.1 - 2.5.150, 2.6.1 - 2.6.6150, 2.7.1 - 2.7.2150, 3.0 - 3.0.1, 3.1 - 3.1.4, 3.2 - 3.2.2150


External links
https://bugs.python.org/issue13703
https://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
https://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
https://mail.python.org/pipermail/python-dev/2011-December/115116.html
https://mail.python.org/pipermail/python-dev/2012-January/115892.html
https://python.org/download/releases/2.6.8/
https://python.org/download/releases/2.7.3/
https://python.org/download/releases/3.1.5/
https://python.org/download/releases/3.2.3/
https://secunia.com/advisories/50858
https://secunia.com/advisories/51087
https://secunia.com/advisories/51089
https://www.openwall.com/lists/oss-security/2012/03/10/3
https://www.ubuntu.com/usn/USN-1592-1
https://www.ubuntu.com/usn/USN-1596-1
https://www.ubuntu.com/usn/USN-1615-1
https://www.ubuntu.com/usn/USN-1616-1
https://bugzilla.redhat.com/show_bug.cgi?id=750555


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability