What’s Vulnerable › Vulnerabilities
CVE-2024-5569: Denial of Service via crafted zip file in jaraco/zipp
- Severity: medium (CVSS 6.2 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-09 · updated 2026-06-17
- Weakness: CWE-835
Description
A Denial of Service (DoS) vulnerability exists in the jaraco/zipp library, affecting all versions prior to 3.19.1. The vulnerability is triggered when processing a specially crafted zip file that leads to an infinite loop. This issue also impacts the zipfile module of CPython, as features from the third-party zipp library are later merged into CPython, and the affected code is identical in both projects. The infinite loop can be initiated through the use of functions affecting the `Path` module in both zipp and zipfile, such as `joinpath`, the overloaded division operator, and `iterdir`. Although the infinite loop is not resource exhaustive, it prevents the application from responding. The vulnerability was addressed in version 3.19.1 of jaraco/zipp.
Affected products
- Pypi Zipp: before 3.19.1; 0.1.0, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2 (+47) — fixed in 3.19.1
- jaraco/zipp: before 3.19.1 — fixed in 3.19.1
How to fix
Upgrade to a fixed version: Pypi Zipp 3.19.1; jaraco/zipp 3.19.1. Check the vendor advisory for mitigations.
References
- https://github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd
- https://huntr.com/bounties/be898306-11f9-46b4-b28c-f4c4aa4ffbae
- https://github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd
- https://huntr.com/bounties/be898306-11f9-46b4-b28c-f4c4aa4ffbae
Get alerted when CVE-2024-5569 or the next vulnerability affects your stack