Advisory

GHSA-jfmj-5v4g-7637

Also known as: CVE-2024-5569, PYSEC-2026-2074

Summary

zipp Denial of Service vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-07-09 00:31 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

zipp

PyPI · All systems

Affected

  • introduced 0, fixed 3.19.1 (ecosystem)

Fixed versions

3.19.1

Fix

  • Fixed version 3.19.1
    pip install --upgrade zipp==3.19.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences