CVE-2024-5569

Denial of Service via crafted zip file in jaraco/zipp

State
Published
Severity
6.2 Medium
Published
Jul 9, 2024
Updated
Oct 15, 2025
Reserved
May 31, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.2 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H@huntr_ai

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition

Affected Products

ProductVersions
jaraco/zippjaraco
  • before 3.19.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.