GitHub Advisoryadvisory · PyPI

GHSA-jfmj-5v4g-7637 zipp Denial of Service vulnerability

MEDIUM Published 2024-07-09 Modified 2024-07-09 Official page ↗
Aliases
CVE-2024-5569
Ecosystem
PyPI
Packages
zipp
Severity
Moderate
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-835
Reviewed
2024-07-09

Affected packages

• PyPI zipp: < 3.19.1 → fixed in 3.19.1

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.

Related

Alias · CVE (1)

  • CVE-2024-5569 A Denial of Service (DoS) vulnerability exists in the jaraco/zipp library, affecting all versions prior to 3.19.1. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-835 Loop with Unreachable Exit Condition weakness

References