sqlparse: formatting list of tuples leads to denial of service
Priority LOW 38CWE-770Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-770.
Summary
### 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](https://code.djangoproject.com/ticket/36416#comment:3), which allows querying composite fields with tuples. ###
Why it matters now
Fix Fixed sqlparse (PyPI): 0.5.4
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | sqlparse (PyPI) | before 0.5.4 | 0.5.4 | Patch available | GHSA-27jp-wm6q-gp25 |
- sqlparse (PyPI) Vendor— Affected before 0.5.4 Fixed in 0.5.4 Patch available GHSA-27jp-wm6q-gp25
Remediation
- Fix · GHSA-27jp-wm6q-gp25 sqlparse (PyPI) Fixed in 0.5.4 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-27jp-wm6q-gp25
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences