Buffer overflow in Python
CVE-2008-3142
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.045, 91.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python
- Canonical Ubuntu Linux — versions 6.06, 7.04, 7.10
- Debian Linux — versions 4.0
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
- oval:org.mitre.oval:def:8422 (signature, Third Party Advisory, vdb-entry)
- 20080813 rPSA-2008-0243-1 idle python (mailing-list, Third Party Advisory, VDB Entry)
- SUSE-SR:2008:017 (vendor-advisory, Mailing List, Third Party Advisory)
- ADV-2008-2288 (Permissions Required, vdb-entry)
- secunia.com/advisories/32793 (Not Applicable, third-party-advisory)
- python-multiple-bo(44173) (Third Party Advisory, VDB Entry, vdb-entry)
- www.securityfocus.com/bid/30491 (Third Party Advisory, VDB Entry, vdb-entry)
- oval:org.mitre.oval:def:11466 (signature, Third Party Advisory, vdb-entry)
- secunia.com/advisories/33937 (Not Applicable, third-party-advisory)
- secunia.com/advisories/37471 (Not Applicable, third-party-advisory)