Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/sqlparse@0.5.0
purl pkg:pypi/sqlparse@0.5.0
Next non-vulnerable version 0.5.4
Latest non-vulnerable version 0.5.4
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-q1py-pag7-aufq
Aliases:
GHSA-27jp-wm6q-gp25
sqlparse: formatting list of tuples leads to denial of service 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.
0.5.4
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-6jpc-dsrp-6qdg sqlparse parsing heavily nested list leads to Denial of Service Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError. CVE-2024-4340
GHSA-2m57-hf25-phgg
VCID-f5qv-a62p-ffdg Duplicate Advisory: sqlparse parsing heavily nested list leads to Denial of Service ## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-2m57-hf25-phgg. This link is maintained to preserve external references. ## Original Description Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError. GHSA-62qf-jcq8-8gxw