Vulnerability · Published Jul 9, 2024 · Assigned by @huntr_ai
CVE-2024-5569Denial of Service via crafted zip file in jaraco/zipp
Medium 6.2
In plain English
A medium-severity infinite loop in jaraco/zipp from jaraco. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | py3-zipp | 3.17.0-r2 | ALPINE-CVE-2024-5569 |
| Alpine:v3.23 | py3-zipp | 3.23.0-r0 | ALPINE-CVE-2024-5569 |
| Alpine:v3.24 | py3-zipp | 3.23.0-r0 | ALPINE-CVE-2024-5569 |
| Debian:12 | python-zipp | 1.0.0-6+deb12u1 | DEBIAN-CVE-2024-5569 |
| Debian:13 | python-zipp | 3.19.2-1 | DEBIAN-CVE-2024-5569 |
| PyPI | zipp | 3.19.1 | GHSA-jfmj-5v4g-7637 |
| PyPI | zipp | 3.19.1 | PYSEC-2026-2074 |
| Ubuntu:22.04:LTS | python-zipp | 1.0.0-3ubuntu0.1 | USN-6906-1 |
| Ubuntu:22.04:LTS | python-zipp | 1.0.0-3ubuntu0.1 | UBUNTU-CVE-2024-5569 |
| Ubuntu:24.04:LTS | python-zipp | 1.0.0-6ubuntu0.1 | UBUNTU-CVE-2024-5569 |
| Ubuntu:24.04:LTS | python-zipp | 1.0.0-6ubuntu0.1 | USN-6906-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jaraco | jaraco/zipp | unspecified – before 3.19.1 |
Weakness: CWE-835 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H