Infinite loop when iterating over zip archive entry names from zipfile.Path
There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-8088US | — | — | ||
There is a HIGH severity vulnerability affecting the CPython "zipfile"
module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected.
Wh… | ||||
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2024/08/22/1WEB
- http://www.openwall.com/lists/oss-security/2024/08/22/4WEB
- http://www.openwall.com/lists/oss-security/2024/08/23/1WEB
- http://www.openwall.com/lists/oss-security/2024/08/23/2WEB
- https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1WEB
- https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6WEB
- https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894eWEB
- https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan