Loop with Unreachable Exit Condition ('Infinite Loop') Affecting python39-devel:3.9/python-urllib3 package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (22nd 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-PYTHON39DEVEL-11187966
  • published29 Jul 2025
  • disclosed28 Jul 2025

Introduced: 28 Jul 2025

NewCVE-2025-8194  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 python39-devel:3.9/python-urllib3.

NVD Description

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

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives.

This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

CVSS Base Scores

version 3.1