A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql, strip_comments=True). This issue is fixed in version 0.6.0.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /andialbrecht/sqlparse/commit/ef2012a5eeb491e604dea2b00d516…
- github.com /andialbrecht/sqlparse/security/advisories/GHSA-f2ff-p2ww-7…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning