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.
Published · last modified .
EPSS exploit prediction
EPSS: 0.013 (68.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
- Python Software Foundation Cpython — versions 0, 3.9.0, 3.10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATK… (vendor-advisory)
- github.com/python/cpython/pull/122906 (patch)
- github.com/python/cpython/issues/122905 (issue-tracking)
- github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e (patch)
- github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 (patch)
- github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea (patch)
- github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db (patch)
- github.com/python/cpython/issues/123270 (issue-tracking)
- github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6 (patch)
- github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4 (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.