Skip to content
Fencer Intel
none 0.0

GHSA-27jp-wm6q-gp25 json

sqlparse: formatting list of tuples leads to denial of service

published 11mo ago modified 2mo ago

cvss
0.0
version 3.1, the maintainers
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

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.

###

Patch / fix

Is GHSA-27jp-wm6q-gp25 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
the maintainers 3.1 0.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi sqlparse
<0.5.4
0.5.4

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of andialbrecht/sqlparse published their own advisory on GitHub. Reviewed sources take precedence over it.