CVE-2007-2052

MEDIUM

Description

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.

References

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

http://www.securityfocus.com/archive/1/507985/100/0/threaded

http://www.securityfocus.com/bid/23887

http://www.trustix.org/errata/2007/0019/

http://www.ubuntu.com/usn/usn-585-1

http://www.vmware.com/security/advisories/VMSA-2009-0016.html

http://www.vupen.com/english/advisories/2007/1465

http://www.vupen.com/english/advisories/2008/0637

http://www.vupen.com/english/advisories/2009/3316

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235093

https://exchange.xforce.ibmcloud.com/vulnerabilities/34060

https://issues.rpath.com/browse/RPL-1358

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11716

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8353

Details

Source: MITRE

Published: 2007-04-16

Updated: 2018-10-16

Type: CWE-189

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM