Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade sqlparse to version 0.6.0 or higher.
Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via ReindentFilter._get_offset() in sqlparse/filters/reindent.py, which reconstructed the full statement prefix from the beginning of the statement on every call. Because _get_offset() is invoked once per group, reindenting a list of N parenthesized tuples or identifier lists with reindent=True incurs O(N²) CPU work. An attacker supplying a ~12 KB SQL payload containing a large tuple or identifier list can cause a worker process to stall for several seconds, resulting in a denial of service.