Vulnerability in Python
CVE-2007-2052
Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect buffer size to be used for the strxfrm function, which allows context-dependent attackers to read portions of memory via unknown manipulations that trigger a buffer over-read due to missing null termination.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.141, 96.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 2.4.0, 2.5.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
- [Security-announce] 20080221 VMSA-2008-0003 Moderate: Updated aacraid driver and samba and python service console updates (mailing-list, Third Party Advisory)
- secunia.com/advisories/28050 (Broken Link, third-party-advisory)
- secunia.com/advisories/25190 (Broken Link, third-party-advisory)
- secunia.com/advisories/25217 (Broken Link, third-party-advisory)
- secunia.com/advisories/37471 (Third Party Advisory, third-party-advisory)
- www.python.org/download/releases/2.5.1/NEWS.txt (Broken Link, Vendor Advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi (Third Party Advisory)
- DSA-1551 (vendor-advisory, Third Party Advisory)
- www.vmware.com/security/advisories/VMSA-2009-0016.html (Third Party Advisory, Broken Link)
- secunia.com/advisories/29303 (Broken Link, third-party-advisory)