Loop with Unreachable Exit Condition ('Infinite Loop') Affecting python311-zipp package, versions <3.15.0-150400.10.10.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.24% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES155-PYTHON311ZIPP-7446841
  • published13 Jul 2024
  • disclosed11 Jul 2024

Introduced: 11 Jul 2024

CVE-2024-5569  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 python311-zipp to version 3.15.0-150400.10.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-zipp package and not the python311-zipp package as distributed by SLES. See How to fix? for SLES:15.5 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1