Vulnerability in Python Software Foundation Cpython
CVE-2024-8088
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.
EPSS: 0.013 (66.7th percentile) — read the EPSS interpretation.
Affected products
- Python Software Foundation Cpython — versions 0, 3.9.0, 3.10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cna@python.org (vendor-advisory)
- cna@python.org (patch)
- cna@python.org (issue-tracking)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (issue-tracking)
- cna@python.org (patch)
- cna@python.org (patch)
Frequently asked questions
- What is CVE-2024-8088?
- CVE-2024-8088 is a vulnerability in Python Software Foundation Cpython, classified under Loop with Unreachable Exit Condition (Infinite Loop). Published 2024-08-22.
- Is CVE-2024-8088 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.