Lucene search
+L

1 matches found

PyPA
PyPA
•added 2026/08/19 11:56 a.m.•15 views

sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger

Summarysqlparse ships hard limits MAXGROUPINGDEPTH=100, MAXGROUPINGTOKENS=10000 intended to bound parsing work on attacker-supplied SQL, but the path that reaches those limits is itself Ondepth per token-group construction. A 1-2 KB SQL payload e.g. SELECT 1 ... with 500-2000 nesting levels, or a...

8.7CVSS6AI score0.00332EPSS
SaveExploits0References6Affected Software1
Rows per page
Query Builder