Uncontrolled Recursion Affecting python311-sqlparse package, versions <0.4.4-150400.6.7.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.24% (88th 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-SLES155-PYTHON311SQLPARSE-7086102
  • published24 May 2024
  • disclosed23 May 2024

Introduced: 23 May 2024

CVE-2024-4340  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 python311-sqlparse to version 0.4.4-150400.6.7.1 or higher.

NVD Description

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

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

CVSS Base Scores

version 3.1