What’s Vulnerable › Vulnerabilities

GHSA-27jp-wm6q-gp25: sqlparse: formatting list of tuples leads to denial of service

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](https://code.djangoproject.com/ticket/36416#comment:3), which allows querying composite fields with tuples. ###

Affected products

How to fix

Upgrade to a fixed version: Pypi Sqlparse 0.5.4. Check the vendor advisory for mitigations.

References

Get alerted when GHSA-27jp-wm6q-gp25 or the next vulnerability affects your stack