GHSA-27jp-wm6q-gp25
GHSA-27jp-wm6q-gp25 · sqlparse: formatting list of tuples leads to denial of service
This page contains facts from public vulnerability sources. Check the original advisory before updating.
### 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. ###
CVSS 6.9 · Medium · Fix available
- Published
- Updated
Stack: python
Affected products and versions
sqlparse PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.10
- 0.1.11
- 0.1.12
- 0.1.13
- 0.1.14
- 0.1.15
- 0.1.16
- 0.1.17
- 0.1.18
- 0.1.19
- 0.1.2
- 0.1.3
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- 0.2.0
- 0.2.1
- 0.2.2
- 0.2.3
- 0.2.4
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.4.2
- 0.4.3
- 0.4.4
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.3
- Affected ranges
- ECOSYSTEM: < 0.5.4
Update to 0.5.4
Original sources
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-27jp-wm6q-gp25
- https://github.com/andialbrecht/sqlparse/commit/40ed3aa958657fa4a82055927fa9de70ab903360
- https://github.com/andialbrecht/sqlparse
- https://github.com/andialbrecht/sqlparse/releases/tag/0.5.4
- https://osv.dev/vulnerability/GHSA-27jp-wm6q-gp25