GHSA-27jp-wm6q-gp25
medium
sqlparse: formatting list of tuples leads to denial of service
- Severity
- medium CVSS:4.0 by GitHub
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sqlparse (PyPI) | before 0.5.4 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-27jp-wm6q-gp25 changed 2026-09-10 | CC-BY-4.0 |