Uncontrolled Recursion Affecting python3-sqlparse package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux 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-RHEL7-PYTHON3SQLPARSE-6751212
  • 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?

There is no fixed version for RHEL:7 python3-sqlparse.

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 RHEL. See How to fix? for RHEL:7 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