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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Red Hat Ansible Automation Platform 2.4 for RHEL 8RedHatpython3x-zipp-0:3.19.2-1.el8ap*
Red Hat Ansible Automation Platform 2.4 for RHEL 9RedHatpython-zipp-0:3.19.2-1.el9ap*
Red Hat OpenShift Container Platform 4.16RedHatpython-zipp-0:3.19.1-1.el9*
Red Hat OpenShift Container Platform 4.17RedHatpython-zipp-0:3.19.1-1.el9*
Red Hat OpenStack Platform 17.1 for RHEL 9RedHatpython-zipp-0:3.4.0-3.el9ost*
Red Hat Satellite 6.16 for RHEL 8RedHatpython-zipp-0:3.20.2-1.el8pc*
Red Hat Satellite 6.16 for RHEL 8RedHatpython-zipp-0:3.20.2-1.el8pc*
Red Hat Satellite 6.16 for RHEL 9RedHatpython-zipp-0:3.20.2-1.el9pc*
Red Hat Satellite 6.16 for RHEL 9RedHatpython-zipp-0:3.20.2-1.el9pc*
Python-zippUbuntuesm-infra/focal*
Python-zippUbuntufocal*
Python-zippUbuntujammy*
Python-zippUbuntumantic*
Python-zippUbuntunoble*
Python-zippUbuntuupstream*

References