Python imageop.c buffer overflow
| python-imageopc-bo (41958) |
Description:
Python is vulnerable to a heap-based buffer overflow, caused by multiple integer overflow errors in the imageop.c module. By persuading a victim to open a specially-crafted image, a remote attacker could overflow a buffer and execute arbitrary code on the system 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
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- Python Software Foundation, Python 2.4
Remedy:
Apply the appropriate update for your system. See References.
For Apple Mac OS:
Apply the appropriate update for your system. 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 1179, Integer overflow in imageop module at http://bugs.python.org/issue1179.
- Python Bugs: Message 64682, Message64682 at http://bugs.python.org/msg64682.
- Python SVN Repository, projects at http://svn.python.org/view?rev=66689&view=rev.
- Python SVN Repository, projects: python/branches/release25-maint/Misc/NEWS at http://svn.python.org/view/python/branches/release25-maint/Misc/NEWS?rev=66690&view=markup.
- Python Web site, Python Programming Language at http://python.org/.
- BID-31932: Python 'Imageop' Module Argument Validation Buffer Overflow Vulnerability
- BID-31976: Python Imageop Module 'imageop.crop()' Buffer Overflow Vulnerability
- CVE-2008-1679: Multiple integer overflows in imageop.c in Python before 2.5.3 allow context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via crafted images that trigger heap-based buffer overflows. NOTE: this issue is due to an incomplete fix for CVE-2007-4965.
- DSA-1551: python2.4 -- several vulnerabilities
- DSA-1620: python2.5 -- several vulnerabilities
- GLSA-200807-01: Python: Multiple integer overflows
- MDVSA-2008:163: python
- MDVSA-2008:164: python
- SA33937: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SUSE-SR:2008:017: SUSE Security Summary Report
- USN-632-1: Python vulnerabilities
Reported:
Mar 29, 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
