Files
CVEs-PoC/2008/CVE-2008-1887.md
T
2024-06-18 02:51:15 +02:00

20 lines
855 B
Markdown

### [CVE-2008-1887](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1887)
![](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
Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.
### POC
#### Reference
- http://bugs.python.org/issue2587
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
#### Github
- https://github.com/mudongliang/LinuxFlaw
- https://github.com/oneoy/cve-