Uncontrolled Recursion Affecting sqlparse package, versions <0.5.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-DEBIAN13-SQLPARSE-6744752
  • published1 May 2024
  • disclosed30 Apr 2024

Introduced: 30 Apr 2024

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

How to fix?

Upgrade Debian:13 sqlparse to version 0.5.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlparse package and not the sqlparse package as distributed by Debian. See How to fix? for Debian:13 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