2 matches found
sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption
Summary When SQL is formatted with reindentation enabled, ReindentFilter repeatedly rebuilds prefixes of the current statement to calculate token offsets. An attacker who controls SQL sent to this opt-in formatting path can supply a parenthesized tuple list that remains just below the...
5.1CVSS6AI score
SaveExploits0References4Affected Software1
sqlparse: formatting list of tuples leads to denial of service
Summary The below gist hangs while attempting to format a long list of tuples. This was found while drafting a regression test for Dja ngo 5.2's composite primary key feature, which allows querying composite fields with tuples...
5.5AI score
SaveExploits0References4Affected Software1
20