medium5.0Public exploit code
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 …
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Python 2.5 - 'PyLocale_strxfrm' Remote Information Leak2007-05-08 · remote · linux · Verified
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Python | Python | Versions 2.4.0, 2.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416934
- http://lists.vmware.com/pipermail/security-announce/2008/000005.html
- http://secunia.com/advisories/25190
- http://secunia.com/advisories/25217
- http://secunia.com/advisories/25233
- http://secunia.com/advisories/25353
- http://secunia.com/advisories/25787
- http://secunia.com/advisories/28027
- http://secunia.com/advisories/28050
- http://secunia.com/advisories/29032
- http://secunia.com/advisories/29303
- http://secunia.com/advisories/29889
- http://secunia.com/advisories/31255
- http://secunia.com/advisories/31492
- http://secunia.com/advisories/37471
- http://www.debian.org/security/2008/dsa-1551
- http://www.debian.org/security/2008/dsa-1620
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:099
- http://www.novell.com/linux/security/advisories/2007_13_sr.html
- http://www.python.org/download/releases/2.5.1/NEWS.txt
- http://www.redhat.com/support/errata/RHSA-2007-1076.html
- http://www.redhat.com/support/errata/RHSA-2007-1077.html
- http://www.redhat.com/support/errata/RHSA-2008-0629.html
- http://www.securityfocus.com/archive/1/469294/30/6450/threaded
- http://www.securityfocus.com/archive/1/488457/100/0/threaded