cve/2007/CVE-2007-2052.md
2024-05-26 14:27:05 +02:00

20 lines
911 B
Markdown

### [CVE-2007-2052](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2052)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235093
#### Github
- https://github.com/mudongliang/LinuxFlaw
- https://github.com/oneoy/cve-