Inefficient Regular Expression Complexity Affecting python39-packaging package, versions <0:20.4-4.module+el8.9.0+19644+d68f775d


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.11% (46th 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 Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-PYTHON39PACKAGING-8863390
  • published28 Feb 2025
  • disclosed3 Sept 2024

Introduced: 3 Sep 2024

CVE-2024-6232  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Centos:8 python39-packaging to version 0:20.4-4.module+el8.9.0+19644+d68f775d or higher.

NVD Description

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

There is a MEDIUM severity vulnerability affecting CPython.

Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.

CVSS Base Scores

version 3.1