Uncontrolled Recursion Affecting python3-sqlparse package, versions <0.4.2-150300.12.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (31st 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-SLES153-PYTHON3SQLPARSE-7718965
  • published20 Aug 2024
  • disclosed30 May 2024

Introduced: 30 May 2024

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

How to fix?

Upgrade SLES:15.3 python3-sqlparse to version 0.4.2-150300.12.1 or higher.

NVD Description

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

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

CVSS Scores

version 3.1