Loop with Unreachable Exit Condition ('Infinite Loop') Affecting python38-mod_wsgi package, versions <0:4.6.8-3.module+el8.2.0+5234+f98739b6


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
2.99% (87th 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-CENTOS8-PYTHON38MODWSGI-2078930
  • published26 Jul 2021
  • disclosed10 Dec 2019

Introduced: 10 Dec 2019

CVE-2019-20907  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Centos:8 python38-mod_wsgi to version 0:4.6.8-3.module+el8.2.0+5234+f98739b6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python38-mod_wsgi package and not the python38-mod_wsgi package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.

References

CVSS Base Scores

version 3.1