Skip to content
8.7 High

CVE-2024-8088 There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path"

Description

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.

Affected products and versions

Product Affected versions Fixed in
CPython 3.13 3.13.0a1 → < 3.13.0rc2 3.13.0rc2
CPython 3.12 3.12.0 → < 3.12.6 3.12.6
CPython 3.11 3.11.0 → < 3.11.10 3.11.10
CPython 3.10 3.10.0 → < 3.10.15 3.10.15
CPython 3.9 3.9.0 → < 3.9.20 3.9.20
CPython 3.8 earliest → < 3.8.20 3.8.20
cpython 3.13 earliest → 3.13.0 No fix stated

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE