CVE-2024-4340

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

State
Published
Severity
7.5 High
Published
Apr 30, 2024
Updated
Nov 3, 2025
Reserved
Apr 30, 2024

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HJFROG

Weaknesses

Affected Products

ProductVersions
sqlparse
  • before 0.5.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.