Description
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
sqlparse
0 to < 0.5.0affected
References
- https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292/ ↗
- https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03 ↗
- https://github.com/advisories/GHSA-2m57-hf25-phgg ↗
- https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html ↗