Vulnerability in Python
CVE-2008-5031
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 2.2.3, 2.3.7, 2.4.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- svn.python.org/view/python/trunk/Objects/unicodeobject.c
- GLSA-200907-16 (vendor-advisory)
- secunia.com/advisories/33937 (third-party-advisory, Vendor Advisory)
- scary.beasts.org/security/CESA-2008-008.html
- secunia.com/advisories/37471 (third-party-advisory, Vendor Advisory)
- [oss-security] 20081105 Re: CVE Request - Python string expandtabs (mailing-list)
- [oss-security] 20081105 CVE Request - Python string expandtabs (mailing-list)
- www.vmware.com/security/advisories/VMSA-2009-0016.html
- support.apple.com/kb/HT3438
- svn.python.org/view