Description
Stack-based buffer overflow in the file_compress function in minigzip (Modules/zlib) in Python 2.5 allows context-dependent attackers to execute arbitrary code via a long file argument.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- MiniGZip - Controls File_Compress Buffer Overflow EDB-29740 · dos · Mar 14, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20070314 Fwd: Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability mailing-list
- 20070314 [TRUE] Python 2.5 (Modules/zlib) minigzip local buffer overflow vulnerability mailing-list
- 43550 vdb-entry
- 22964 vdb-entry