What’s Vulnerable › Vulnerabilities

CVE-2024-4340: Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Description

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

Affected products

How to fix

Upgrade to a fixed version: Pypi Sqlparse 0.5.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-4340 or the next vulnerability affects your stack