[CVE-2024-8088] Infinite loop when iterating over zip archive entry names
![](https://secure.gravatar.com/avatar/b5a0900288ad3a29fd4a5ef260486055.jpg?s=120&d=mm&r=g)
There is a HIGH severity vulnerability affecting the CPython "zipfile" module.
When iterating over names of entries in a zip archive (for example, methods of "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()", 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.
Please see the linked CVE ID for the latest information on affected versions:
![](https://secure.gravatar.com/avatar/b5a0900288ad3a29fd4a5ef260486055.jpg?s=120&d=mm&r=g)
A clarification on this vulnerability that is incorrect in the initial advisory: This vulnerability only affects zipfile.Path, not zipfile.ZipFile. Please see the attached CVE for further clarification.
![](https://secure.gravatar.com/avatar/b5a0900288ad3a29fd4a5ef260486055.jpg?s=120&d=mm&r=g)
A clarification on this vulnerability that is incorrect in the initial advisory: This vulnerability only affects zipfile.Path, not zipfile.ZipFile. Please see the attached CVE for further clarification.
participants (1)
-
Seth Larson