First published: Tue Apr 18 2023(Updated: )
### 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
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/python-sqlparse | <0.4.4 | 0.4.4 |
pip/sqlparse | >=0.1.15<0.4.4 | 0.4.4 |
sqlparse | >=0.1.15<0.4.4 | |
Debian GNU/Linux | =10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-30608 is classified as a Denial of Service (DoS) vulnerability due to the risk posed by a vulnerable regular expression in the SQL parser.
To mitigate CVE-2023-30608, update the affected software to version 0.4.4 or later.
CVE-2023-30608 affects python-sqlparse versions prior to 0.4.4 and sqlparse versions from 0.1.15 to below 0.4.4.
CVE-2023-30608 enables a Regular Expression Denial of Service (ReDoS) attack, potentially leading to application downtime.
Yes, for Debian, ensure that you are running version 10.0 or higher to mitigate CVE-2023-30608.