Vulnerability Description
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
CVSS Score
7.5
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Related Weaknesses (CWE)
References
- https://github.com/advisories/GHSA-2m57-hf25-phgg
- https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b
- https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-20
- https://github.com/advisories/GHSA-2m57-hf25-phgg
- https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b
- https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html
- https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-20
FAQ
What is CVE-2024-4340?
CVE-2024-4340 is a vulnerability with a CVSS score of 7.5 (HIGH). Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
How severe is CVE-2024-4340?
CVE-2024-4340 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-4340?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.