Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
sqlparse
(,0.5.0)
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
Running the following code will raise Maximum recursion limit exceeded exception:
import sqlparse
sqlparse.parse('[' * 10000 + ']' * 10000)
No mitigations are supplied for this issue