Input validation error in Python - CVE-2012-2135
Published: August 15, 2012 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to #BASIC_IMPACT#.
The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors.
Affected software
Ubuntu
python3.1 (Ubuntu package)
python3.1-minimal (Ubuntu package)
python3.2-minimal (Ubuntu package)
python3.2 (Ubuntu package)
How to mitigate CVE-2012-2135
python3.1-minimal (Ubuntu package) - addressed in versions 3.1.2-0ubuntu3.2, 3.1.3-1ubuntu1.2
python3.2-minimal (Ubuntu package) - addressed in versions 3.2-1ubuntu1.2, 3.2.2-0ubuntu1.1, 3.2.3-0ubuntu3.2, 3.2.3-6ubuntu3.1
python3.2 (Ubuntu package) - addressed in versions 3.2-1ubuntu1.2, 3.2.2-0ubuntu1.1, 3.2.3-0ubuntu3.2, 3.2.3-6ubuntu3.1
External References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670389
- http://bugs.python.org/issue14579
- http://secunia.com/advisories/51087
- http://secunia.com/advisories/51089
- http://www.openwall.com/lists/oss-security/2012/04/25/2
- http://www.openwall.com/lists/oss-security/2012/04/25/4
- http://www.ubuntu.com/usn/USN-1615-1
- http://www.ubuntu.com/usn/USN-1616-1