cve/2024/CVE-2024-4340.md
2024-05-25 21:48:12 +02:00

19 lines
711 B
Markdown

### [CVE-2024-4340](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-4340)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-674%20Uncontrolled%20Recursion&color=brighgreen)
### Description
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
### POC
#### Reference
- https://github.com/advisories/GHSA-2m57-hf25-phgg
- https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292/
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds