CVE Vulnerabilities

CVE-2024-5569

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jul 09, 2024 | Modified: Oct 15, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.2 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Red Hat Ansible Automation Platform 2.4 for RHEL 8 RedHat python3x-zipp-0:3.19.2-1.el8ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 9 RedHat python-zipp-0:3.19.2-1.el9ap *
Red Hat OpenShift Container Platform 4.16 RedHat python-zipp-0:3.19.1-1.el9 *
Red Hat OpenShift Container Platform 4.17 RedHat python-zipp-0:3.19.1-1.el9 *
Red Hat OpenStack Platform 17.1 for RHEL 9 RedHat python-zipp-0:3.4.0-3.el9ost *
Red Hat Satellite 6.16 for RHEL 8 RedHat python-zipp-0:3.20.2-1.el8pc *
Red Hat Satellite 6.16 for RHEL 8 RedHat python-zipp-0:3.20.2-1.el8pc *
Red Hat Satellite 6.16 for RHEL 9 RedHat python-zipp-0:3.20.2-1.el9pc *
Red Hat Satellite 6.16 for RHEL 9 RedHat python-zipp-0:3.20.2-1.el9pc *
Python-zipp Ubuntu esm-infra/focal *
Python-zipp Ubuntu focal *
Python-zipp Ubuntu jammy *
Python-zipp Ubuntu mantic *
Python-zipp Ubuntu noble *
Python-zipp Ubuntu upstream *

References