Python up to 2.6 unicode_expandtabs tabsize 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.
8.8$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in Python 2.2.3/2.3.7/2.4.6/2.5.1/2.6. The impacted element is the function unicode_expandtabs of the component Python. The manipulation of the argument tabsize results in numeric error. This vulnerability is cataloged as CVE-2008-5031. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability classified as critical has been found in Python 2.2.3/2.3.7/2.4.6/2.5.1/2.6 (Programming Language Software). Affected is the function unicode_expandtabs of the component Python. The manipulation of the argument tabsize with an unknown input leads to a numeric error vulnerability. CWE is classifying the issue as CWE-189. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown impact via a large integer value in the tabsize argument to the expandtabs method, as implemented by (1) the string_expandtabs function in Objects/stringobject.c and (2) the unicode_expandtabs function in Objects/unicodeobject.c. NOTE: this vulnerability reportedly exists because of an incomplete fix for CVE-2008-2315.

The bug was discovered 11/05/2008. The weakness was shared 11/10/2008 (Website). The advisory is shared for download at xforce.iss.net. This vulnerability is traded as CVE-2008-5031 since 11/10/2008. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 39870 (GLSA-200907-16 : Python: Integer overflows), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo 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 9 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (46612), Tenable (39870), SecurityFocus (BID 33187†), OSVDB (47478†) and Secunia (SA33937†). The entries VDB-42789, VDB-43497, VDB-43496 and VDB-43495 are related to this item. 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: 9.8
VulDB Meta Temp Score: 8.8

VulDB Base Score: 9.8
VulDB Temp Score: 8.8
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: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 39870
Nessus Name: GLSA-200907-16 : Python: Integer overflows
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 880881
OpenVAS Name: CentOS Update for python CESA-2009:1176 centos5 i386
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

11/05/2008 🔍
11/05/2008 +0 days 🔍
11/05/2008 +0 days 🔍
11/10/2008 +5 days 🔍
11/10/2008 +0 days 🔍
11/10/2008 +0 days 🔍
02/17/2009 +99 days 🔍
07/19/2009 +152 days 🔍
07/20/2009 +1 days 🔍
03/17/2015 +2066 days 🔍
08/27/2019 +1624 days 🔍

Sourcesinfo

Advisory: xforce.iss.net
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-5031 (🔍)
GCVE (CVE): GCVE-0-2008-5031
GCVE (VulDB): GCVE-100-44964

OVAL: 🔍

X-Force: 46612
SecurityFocus: 33187 - Python 'expandtabs' Multiple Integer Overflow Vulnerabilities
Secunia: 33937
OSVDB: 47478 - Python expandtabs method integer overflow
Vulnerability Center: 20946 - Python <= 2.5.2 Expandtabs Integer Local Code Execution and DoS Vulnerability, Medium
Vupen: ADV-2009-3316

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 08/27/2019 16:37
Changes: 03/17/2015 16:11 (77), 08/27/2019 16:37 (9)
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 want to use VulDB in your project?

Use the official API to access entries easily!