Inefficient Regular Expression Complexity Affecting python3 package, versions <3.12.6-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ALPINE321-PYTHON3-8485584
  • published6 Dec 2024
  • disclosed19 Aug 2024

Introduced: 19 Aug 2024

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

How to fix?

Upgrade Alpine:3.21 python3 to version 3.12.6-r0 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 Alpine. See How to fix? for Alpine:3.21 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