Inefficient Regular Expression Complexity Affecting python3 package, versions <3.6.15-150000.3.155.2


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server 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-SLES152-PYTHON3-8056110
  • published19 Sept 2024
  • disclosed18 Sept 2024

Introduced: 18 Sep 2024

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

How to fix?

Upgrade SLES:15.2 python3 to version 3.6.15-150000.3.155.2 or higher.

NVD Description

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

There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module.

When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.

CVSS Scores

version 3.1