Vulnerability
CVE-2023-30608
sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit `e75e358`. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit `c457abd5f`. Users are advised to upgrade. There are no known workarounds for this issue.
20 advisories report this vulnerability, across 7 ecosystems.
Advisories in openSUSE
-
SUSE-RU-2024:1637-1
Recommended update for google-cloud SDK
-
SUSE-RU-2024:1637-2
Recommended update for google-cloud SDK
-
SUSE-SU-2023:2619-1
Security update for python-sqlparse
-
openSUSE-SU-2024:12957-1
python310-sqlparse-0.4.4-1.1 on GA media
-
openSUSE-SU-2026:11221-1
python313-sqlparse-0.5.5-2.1 on GA media
References
- https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb
- https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2
- https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
- https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html