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.

Severity (CVSS 3.0)6.2Medium
Exploit odds (30 days)0.2%top 85.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.22py3-zipp3.17.0-r2ALPINE-CVE-2024-5569
Alpine:v3.23py3-zipp3.23.0-r0ALPINE-CVE-2024-5569
Alpine:v3.24py3-zipp3.23.0-r0ALPINE-CVE-2024-5569
Debian:12python-zipp1.0.0-6+deb12u1DEBIAN-CVE-2024-5569
Debian:13python-zipp3.19.2-1DEBIAN-CVE-2024-5569
PyPIzipp3.19.1GHSA-jfmj-5v4g-7637
PyPIzipp3.19.1PYSEC-2026-2074
Ubuntu:22.04:LTSpython-zipp1.0.0-3ubuntu0.1USN-6906-1
Ubuntu:22.04:LTSpython-zipp1.0.0-3ubuntu0.1UBUNTU-CVE-2024-5569
Ubuntu:24.04:LTSpython-zipp1.0.0-6ubuntu0.1UBUNTU-CVE-2024-5569
Ubuntu:24.04:LTSpython-zipp1.0.0-6ubuntu0.1USN-6906-1

Affected products (as reported)

VendorProductVersions
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

References