CVE-2024-8088Infinite Loop in Software Foundation Cpython

CWE-835Infinite Loop10 documents9 sources
Severity
8.7HIGHNVD
EPSS
0.2%
top 54.07%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 22
Latest updateSep 16

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 a

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N

Affected Packages1 packages

CVEListV5python_software_foundation/cpython3.9.03.9.20+5

🔴Vulnerability Details

4
GHSA
GHSA-q98g-hxg3-268c: There is a HIGH severity vulnerability affecting the CPython "zipfile" module2024-08-22
CVEList
Infinite loop when iterating over zip archive entry names from zipfile.Path2024-08-22
OSV
CVE-2024-8088: There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile2024-08-22
OSV
CVE-2024-8088: There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile2024-08-22

📋Vendor Advisories

4
Ubuntu
Python vulnerabilities2024-09-16
Red Hat
python: cpython: Iterating over a malicious ZIP file may lead to Denial of Service2024-08-22
Microsoft
Infinite loop when iterating over zip archive entry names from zipfile.Path2024-08-13
Debian
CVE-2024-8088: pypy3 - There is a HIGH severity vulnerability affecting the CPython "zipfile" module af...2024
CVE-2024-8088 — Infinite Loop | cvebase