Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zipp
  4. ›
  5. CVE-2024-5569

CVE-2024-5569: zipp Denial of Service vulnerability

July 9, 2024

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.

References

  • github.com/advisories/GHSA-jfmj-5v4g-7637
  • github.com/jaraco/zipp
  • github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd
  • huntr.com/bounties/be898306-11f9-46b4-b28c-f4c4aa4ffbae
  • nvd.nist.gov/vuln/detail/CVE-2024-5569

Code Behaviors & Features

Detect and mitigate CVE-2024-5569 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.19.1

Fixed versions

  • 3.19.1

Solution

Upgrade to version 3.19.1 or above.

Impact 6.2 MEDIUM

CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/zipp/CVE-2024-5569.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.