GHSA-62qf-jcq8-8gxw
HIGH 7.5CVSS 3.1withdrawn / rejectedDuplicate Advisory: sqlparse parsing heavily nested list leads to Denial of Service
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-2m57-hf25-phgg. This link is maintained to preserve external references.
Original Description
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | sqlparse | < 0.5.0 | 0.5.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4340 · ADVISORY
- https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03 · WEB
- https://github.com/advisories/GHSA-2m57-hf25-phgg · ADVISORY
- https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Apr 2024)