~ / search / GHSA-rrm6-wvj7-cwh2

GHSA-rrm6-wvj7-cwh2

sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-30608

Packages

EcosystemPackageAffectedFixed in
PyPI sqlparse >= 0.1.15, < 0.4.4 0.4.4

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact The SQL parser contains a regular expression that is vulnerable to [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) (Regular Expression Denial of Service). The vulnerability may lead to Denial of Service (DoS). ### Patches This issues has been fixed in sqlparse 0.4.4. ### Workarounds None. ### References This issue was discovered and reported by GHSL team member [@erik-krogh (Erik Krogh Kristensen)](https://github.com/erik-krogh). - Commit that introduced the vulnerability: e75e35869473832a1eb67772b1adfee2db11b85a

References

External links from the advisory. They lead to third-party sites.