Loop with Unreachable Exit Condition ('Infinite Loop') Affecting python39:3.9/python39-setuptools-wheel package, versions <0:50.3.2-6.module+el8.10.0+22183+c898c0c1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (9th 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-RHEL8-PYTHON39-7825370
  • published23 Aug 2024
  • disclosed22 Aug 2024

Introduced: 22 Aug 2024

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

How to fix?

Upgrade RHEL:8 python39:3.9/python39-setuptools-wheel to version 0:50.3.2-6.module+el8.10.0+22183+c898c0c1 or higher.
This issue was patched in RHSA-2024:5962.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39:3.9/python39-setuptools-wheel package and not the python39:3.9/python39-setuptools-wheel package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected.

When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.

CVSS Base Scores

version 3.1