CVE-2008-4864
published 2008-11-01CVE-2008-4864: Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and…
PriorityP356high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
21.02%
97.3th percentile
Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and execute arbitrary code via large integer values in certain arguments to the crop function, leading to a buffer overflow, a different vulnerability than CVE-2007-4965 and CVE-2008-1679.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| python | python | >= 1.5.2 < 2.4.6 | 2.4.6 |
| python | python | >= 2.5.0 < 2.5.3 | 2.5.3 |
| vmware | esxi | — | — |
| vmware | vmware_tools | — | — |
| vmware | vmware_vcenter_server | — | — |
| vmware | vmware_vsphere | — | — |
| vmware | vmware_workstation | — | — |
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vendor_ubuntu7.5HIGH
vendor_redhat5.8MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-46cx-9569-w574: Multiple integer overflows in imageop
ghsa_unreviewed·2022-05-14·CVSS 5.8
CVE-2008-4864 [MEDIUM] CWE-190 GHSA-46cx-9569-w574: Multiple integer overflows in imageop
Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and execute arbitrary code via large integer values in certain arguments to the crop function, leading to a buffer overflow, a different vulnerability than CVE-2007-4965 and CVE-2008-1679.
VMware
VMware vCenter and ESX update release and vMA patch release address multiple security issues in third party components.
vendor_vmware·2009-11-20·CVSS 5.0
CVE-2007-2052 [MEDIUM] VMware vCenter and ESX update release and vMA patch release address multiple security issues in third party components.
VMSA-2009-0016: VMware vCenter and ESX update release and vMA patch release address multiple security issues in third party components.
a. JRE Security Update JRE update to version 1.5.0_20, which addresses multiple security issues that existed in earlier releases of JRE. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the following names to the security issues fixed in JRE 1.5.0_18: CVE-2009-1093, CVE-2009-1094, CVE-2009-1095, CVE-2009-1096, CVE-2009-1097, CVE-2009-1098, CVE-2009-1099, CVE-2009-1100, CVE-2009-1101, CVE-2009-1102, CVE-2009-1103, CVE-2009-1104, CVE-2009-1105, CVE-2009-1106, and CVE-2009-1107. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the following names to the security issues fixed in JRE 1.5.0_20: CVE-2009-
Ubuntu
Python vulnerabilities
vendor_ubuntu·2009-07-23·CVSS 7.5
CVE-2008-4864 [HIGH] Python vulnerabilities
Title: Python vulnerabilities
Summary: Python vulnerabilities
It was discovered that Python incorrectly handled certain arguments in the
imageop module. If an attacker were able to pass specially crafted
arguments through the crop function, they could execute arbitrary code with
user privileges. For Python 2.5, this issue only affected Ubuntu 8.04 LTS.
(CVE-2008-4864)
Multiple integer overflows were discovered in Python's stringobject and
unicodeobject expandtabs method. If an attacker were able to exploit these
flaws they could execute arbitrary code with user privileges or cause
Python applications to crash, leading to a denial of service.
(CVE-2008-5031)
Instructions: After a standard system upgrade you need to reboot your computer to
effect the necessary changes.
Red Hat
python: imageop module multiple integer overflows
vendor_redhat·2008-10-19·CVSS 5.8
CVE-2008-4864 [MEDIUM] CWE-190 python: imageop module multiple integer overflows
python: imageop module multiple integer overflows
Multiple integer overflows in imageop.c in the imageop module in Python 1.5.2 through 2.5.1 allow context-dependent attackers to break out of the Python VM and execute arbitrary code via large integer values in certain arguments to the crop function, leading to a buffer overflow, a different vulnerability than CVE-2007-4965 and CVE-2008-1679.
No detection rules found.
Exploit-DB
Python < 2.5.2 Imageop Module - 'imageop.crop()' Buffer Overflow
exploitdb·2009-11-24·CVSS 7.5
CVE-2008-4864 [HIGH] Python < 2.5.2 Imageop Module - 'imageop.crop()' Buffer Overflow
Python < 2.5.2 Imageop Module - 'imageop.crop()' Buffer Overflow
---
Python's 'imageop' module is prone to a buffer-overflow vulnerability.
Successful exploits may allow attackers to execute arbitrary code in the context of applications using the vulnerable Python module. This may result in a compromise of the underlying system. Failed attempts may lead to a denial-of-service condition.
This issue affects versions prior to Python 2.5.2.
Bugtraq ID: 31976
Class: Boundary Condition Error
CVE: CVE-2008-4864
Published: Oct 29 2008 12:00AM
Updated: Nov 24 2009 07:56PM
Credit: Chris Evans
Vulnerable: VMWare vMA 4.0
VMWare ESX Server 3.0.3
VMWare ESX Server 2.5.5
VMWare ESX Server 4.0
VMWare ESX Server 3.5
Ubuntu Ubuntu Linux 8.10 sparc
Ubuntu Ubuntu Linux 8.10 powerpc
Ubuntu Ubuntu Linux 8.
Exploit-DB
Python 2.5.2 - 'Imageop' Module Argument Validation Buffer Overflow
exploitdb·2008-10-27
CVE-2008-4864 Python 2.5.2 - 'Imageop' Module Argument Validation Buffer Overflow
Python 2.5.2 - 'Imageop' Module Argument Validation Buffer Overflow
---
source: https://www.securityfocus.com/bid/31932/info
Python's 'imageop' module is prone to a buffer-overflow vulnerability.
Successful exploits may allow attackers to execute arbitrary code in the context of applications using the vulnerable Python modules. This may result in a compromise of the underlying system. Failed attempts may lead to a denial-of-service condition.
These issues affect versions prior to Python 2.5.2-r6.
import imageop
s = ''
imageop.crop(s, 1, 65536, 65536, 0, 0, 65536, 65536)
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.htmlhttp://scary.beasts.org/security/CESA-2008-008.htmlhttp://secunia.com/advisories/33937http://secunia.com/advisories/37471http://support.apple.com/kb/HT3438http://svn.python.org/view/python/trunk/Modules/imageop.c?rev=66689&view=diff&r1=66689&r2=66688&p1=python/trunk/Modules/imageop.c&p2=/python/trunk/Modules/imageop.chttp://svn.python.org/view?rev=66689&view=revhttp://www.openwall.com/lists/oss-security/2008/10/27/2http://www.openwall.com/lists/oss-security/2008/10/29/3http://www.securityfocus.com/archive/1/507985/100/0/threadedhttp://www.securityfocus.com/bid/31932http://www.securityfocus.com/bid/31976http://www.vmware.com/security/advisories/VMSA-2009-0016.htmlhttp://www.vupen.com/english/advisories/2009/3316https://exchange.xforce.ibmcloud.com/vulnerabilities/46606https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10702https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8354http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.htmlhttp://scary.beasts.org/security/CESA-2008-008.htmlhttp://secunia.com/advisories/33937http://secunia.com/advisories/37471http://support.apple.com/kb/HT3438http://svn.python.org/view/python/trunk/Modules/imageop.c?rev=66689&view=diff&r1=66689&r2=66688&p1=python/trunk/Modules/imageop.c&p2=/python/trunk/Modules/imageop.chttp://svn.python.org/view?rev=66689&view=revhttp://www.openwall.com/lists/oss-security/2008/10/27/2http://www.openwall.com/lists/oss-security/2008/10/29/3http://www.securityfocus.com/archive/1/507985/100/0/threadedhttp://www.securityfocus.com/bid/31932http://www.securityfocus.com/bid/31976http://www.vmware.com/security/advisories/VMSA-2009-0016.htmlhttp://www.vupen.com/english/advisories/2009/3316https://exchange.xforce.ibmcloud.com/vulnerabilities/46606https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10702https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8354
2008-11-01
Published