CVE-2024-5569Denial of Service via crafted zip file in jaraco/zipp
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.
What to do
Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | python-zipp | Fixed | 1.0.0-6ubuntu0.1 | UBUNTU-CVE-2024-5569 |
| Ubuntu 22.04 | python-zipp | Fixed | 1.0.0-3ubuntu0.1 | UBUNTU-CVE-2024-5569 |
| Ubuntu 20.04 | python-zipp | Fixed | 1.0.0-1ubuntu0.1 | UBUNTU-CVE-2024-5569 |
| Debian 13 | python-zipp | Fixed | 3.19.2-1 | DEBIAN-CVE-2024-5569 |
| Debian 12 | python-zipp | Fixed | 1.0.0-6+deb12u1 | DEBIAN-CVE-2024-5569 |
| Alpine Linux 3.24 | py3-zipp | Fixed | 3.23.0-r0 | ALPINE-CVE-2024-5569 |
| Alpine Linux 3.23 | py3-zipp | Fixed | 3.23.0-r0 | ALPINE-CVE-2024-5569 |
| Alpine Linux 3.22 | py3-zipp | Fixed | 3.17.0-r2 | ALPINE-CVE-2024-5569 |
| PyPI library | zipp | Fixed | 3.19.1 | PYSEC-2026-2074 |
What the vendor says
As published in the CVE record by @huntr_ai, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jaraco/zipp: affected: unspecified to before 3.19.1; fixed in
3.19.1
References
- https://huntr.com/bounties/be898306-11f9-46b4-b28c-f4c4aa4ffbae
- https://github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.