CVE-2024-8088: CPython zipfile - Denial of Service
- Cve: CVE-2024-8088
- Name: CPython zipfile - Denial of Service
- 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.
- Impact: Attackers can cause denial of service by triggering infinite loops during zip archive processing.
- Remediation: Update to the latest version of Python where this issue is fixed or apply patches provided by the Python maintainers.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to provide a malicious zip archive
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.7
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:X/RE:L/U:X
- Epss score: 0.01275
- Epss percentile: 0.70674
- Assignee: [email protected]
- Published at: 2024-08-22T19:15:09Z
- Age in days: 824
- Modified at: 2026-06-17T08:21:50Z
- Patch available: yes
- References total: 22
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8088
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | >= 3.13.0a1, < 3.13.0rc2; >= 3.12.0, < 3.12.6; >= 3.11.0, < 3.11.10; >= 3.10.0, < 3.10.15; >= 3.9.0, < 3.9.20; < 3.8.20 | no | cna_alias | /v1/products/python/python |
| python_software_foundation:cpython | <= 3.13.0 | no | adp_cpes | /v1/products/python_software_foundation/cpython |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python/cpython | commit, fix, issues, pull | yes | /v1/repositories/python/cpython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 5115604
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports