andialbrecht/sqlparse · Security
sqlparse: formatting list of tuples leads to denial of service
- GHSA ID
- GHSA-27jp-wm6q-gp25
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling