Python up to 2.5.1 imageop.c numeric error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.9$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in Python. This affects an unknown function of the file imageop.c. Executing a manipulation can lead to numeric error. This vulnerability is registered as CVE-2007-4965. It is possible to launch the attack remotely. Furthermore, an exploit is available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability was found in Python (Programming Language Software). It has been declared as critical. This vulnerability affects an unknown part of the file imageop.c. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, and availability. CVE summarizes:

Multiple integer overflows in the imageop module in Python 2.5.1 and earlier allow context-dependent attackers to cause a denial of service (application crash) and possibly obtain sensitive information (memory contents) via crafted arguments to (1) the tovideo method, and unspecified other vectors related to (2) imageop.c, (3) rbgimgmodule.c, and other files, which trigger heap-based buffer overflows.

The bug was discovered 09/16/2007. The weakness was published 09/18/2007 (Website). The advisory is shared for download at us-cert.gov. This vulnerability was named CVE-2007-4965 since 09/18/2007. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

A public exploit has been developed in Python. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 30146 (SuSE 10 Security Update : Python (ZYPP Patch Number 4902)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 155847 (Oracle Enterprise Linux Update for Python (ELSA-2009-1176)).

Applying a patch is able to eliminate this problem. A possible mitigation has been published 5 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (36653), Exploit-DB (30592), Tenable (30146), SecurityFocus (BID 25696†) and OSVDB (40142†). Similar entries are available at VDB-35351, VDB-36199, VDB-39605 and VDB-39604. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 30146
Nessus Name: SuSE 10 Security Update : Python (ZYPP Patch Number 4902)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 60798
OpenVAS Name: Debian Security Advisory DSA 1551-1 (python2.4)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Fortigate IPS: 🔍

Timelineinfo

09/16/2007 🔍
09/17/2007 +1 days 🔍
09/17/2007 +0 days 🔍
09/18/2007 +1 days 🔍
09/18/2007 +0 days 🔍
09/18/2007 +0 days 🔍
11/13/2007 +56 days 🔍
01/10/2008 +58 days 🔍
02/01/2008 +22 days 🔍
11/23/2009 +661 days 🔍
03/16/2015 +1939 days 🔍
01/26/2025 +3604 days 🔍

Sourcesinfo

Advisory: us-cert.gov
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-4965 (🔍)
GCVE (CVE): GCVE-0-2007-4965
GCVE (VulDB): GCVE-100-38860

OVAL: 🔍

X-Force: 36653
SecurityFocus: 25696 - Python ImageOP Module Multiple Integer Overflow Vulnerabilities
Secunia: 37471
OSVDB: 40142 - CVE-2007-4965 - Python Software Foundation - Python - Multiple Integer Overflow Issues
Vulnerability Center: 16775 - Python 2.5.1 Imageop Module Integer Overflows Allow Remote DoS or Information Disclosure, Medium
Vupen: ADV-2007-3201

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/16/2015 12:18
Updated: 01/26/2025 02:09
Changes: 03/16/2015 12:18 (85), 07/30/2019 09:24 (5), 01/26/2025 02:09 (18)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!