Python PyOS_vsnprintf integer overflow
| python-pyosvsnprintf-overflow (44171) |
Description:
Python is vulnerable to multiple integer overflows in the PyOS_vsnprintf function. A remote attacker could exploit this vulnerability via specially-crafted input to string formatting operations to corrupt memory and execute arbitrary code on the system with elevated privileges or cause the application to crash.
Platforms Affected:
- Apple, Mac OS X 10.4.11
- Apple, Mac OS X 10.5.6
- Apple, Mac OS X Server 10.4.11
- Apple, Mac OS X Server 10.5.6
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Canonical, Ubuntu 8.04 LTS
- Debian, Debian Linux 4.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux 2008.0
- MandrakeSoft, Mandrake Linux 2008.1
- MandrakeSoft, Mandrake Linux 2008.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- Python Software Foundation, Python 1.5.2
- Python Software Foundation, Python 1.6
- Python Software Foundation, Python 1.6.1
- Python Software Foundation, Python 2.0
- Python Software Foundation, Python 2.0.1
- Python Software Foundation, Python 2.1
- Python Software Foundation, Python 2.1.1
- Python Software Foundation, Python 2.1.2
- Python Software Foundation, Python 2.1.3
- Python Software Foundation, Python 2.2
- Python Software Foundation, Python 2.2.1
- Python Software Foundation, Python 2.2.2
- Python Software Foundation, Python 2.2.3
- Python Software Foundation, Python 2.3
- Python Software Foundation, Python 2.3.1
- Python Software Foundation, Python 2.3.2
- Python Software Foundation, Python 2.3.3
- Python Software Foundation, Python 2.3.4
- Python Software Foundation, Python 2.3.5
- Python Software Foundation, Python 2.3.6
- Python Software Foundation, Python 2.3.7
- Python Software Foundation, Python 2.4
- Python Software Foundation, Python 2.4.1
- Python Software Foundation, Python 2.4.2
- Python Software Foundation, Python 2.4.3
- Python Software Foundation, Python 2.4.4
- Python Software Foundation, Python 2.4.5
- Python Software Foundation, Python 2.5
- Python Software Foundation, Python 2.5.1
- Python Software Foundation, Python 2.5.2
Remedy:
Refer to GLSA 200807-16 for patch, upgrade or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- Apple Web site, About the security content of Security Update 2009-001 at http://support.apple.com/kb/HT3438.
- Python Bugs: Issue 2588, PyOS_vsnprintf() underflow leads to memory corruption at http://bugs.python.org/issue2588.
- Python Bugs: Issue 2589, PyOS_vsnprintf() potential integer overflow leads to memory corruption at http://bugs.python.org/issue2589.
- Python Web site, Python Programming Language -- Official Website at http://www.python.org/.
- BID-30491: Python Multiple Buffer Overflow Vulnerabilities
- CVE-2008-3144: Multiple integer overflows in the PyOS_vsnprintf function in Python/mysnprintf.c in Python 2.5.2 and earlier allow context-dependent attackers to cause a denial of service (memory corruption) or have unspecified other impact via crafted input to string formatting operations. NOTE: the handling of certain integer values is also affected by related integer underflows and an off-by-one error.
- DSA-1667: python2.4 -- several vulnerabilities
- GLSA 200807-16: Python: Multiple vulnerabilities
- GLSA-200807-16: Python: Multiple vulnerabilities
- MDVSA-2008:163: python
- MDVSA-2008:164: python
- SA31305: Python Multiple Vulnerabilities
- SA33937: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SUSE-SR:2008:017: SUSE Security Summary Report
- USN-632-1: Python vulnerabilities
- VUPEN/ADV-2008-2288: Python Multiple Module Buffer and Integer Overflow Vulnerabilities
Reported:
Jul 31, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
