Python up to 2.5.2 unicode_resize memory corruption

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Python. Affected by this issue is the function unicode_resize. This manipulation causes memory corruption. This vulnerability is registered as CVE-2008-3142. No exploit is available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Python (Programming Language Software). It has been declared as critical. Affected by this vulnerability is the function unicode_resize. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Multiple buffer overflows in Python 2.5.2 and earlier on 32bit platforms allow context-dependent attackers to cause a denial of service (crash) or have unspecified other impact via a long string that leads to incorrect memory allocation during Unicode string processing, related to the unicode_resize function and the PyMem_RESIZE macro.

The bug was discovered 07/31/2008. The weakness was published 08/01/2008 by David Remahl with Google Security Team (Website). It is possible to read the advisory at xforce.iss.net. This vulnerability is known as CVE-2008-3142 since 07/10/2008. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 43771 (CentOS 5 : python (CESA-2009:1176)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 155849 (Oracle Enterprise Linux Update for Python (ELSA-2009-1178)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 years after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (44173), Tenable (43771), SecurityFocus (BID 30491†), OSVDB (47480†) and Secunia (SA31305†). Similar entries are available at VDB-42064, VDB-43497, VDB-43496 and VDB-43493. Be aware that VulDB is the high quality 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: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 43771
Nessus Name: CentOS 5 : python (CESA-2009:1176)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

07/10/2008 🔍
07/31/2008 +21 days 🔍
07/31/2008 +0 days 🔍
07/31/2008 +0 days 🔍
08/01/2008 +1 days 🔍
08/01/2008 +0 days 🔍
08/04/2008 +3 days 🔍
07/29/2009 +359 days 🔍
01/06/2010 +161 days 🔍
03/17/2015 +1896 days 🔍
08/15/2019 +1612 days 🔍

Sourcesinfo

Advisory: xforce.iss.net
Researcher: David Remahl
Organization: Google Security Team
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-3142 (🔍)
GCVE (CVE): GCVE-0-2008-3142
GCVE (VulDB): GCVE-100-43495

OVAL: 🔍

X-Force: 44173
SecurityFocus: 30491 - Python Multiple Buffer Overflow Vulnerabilities
Secunia: 31305
OSVDB: 47480 - CVE-2008-3142 - Python - Multiple Buffer Overflow Issues
Vulnerability Center: 19075 - Python <= 2.5.2 on 32bit Platforms Multiple Buffer Overflows Allow Remote DoS, High
Vupen: ADV-2008-2288

See also: 🔍

Entryinfo

Created: 03/17/2015 12:19
Updated: 08/15/2019 09:12
Changes: 03/17/2015 12:19 (76), 08/15/2019 09:12 (9)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!