CVE-2023-30608
CVE-2023-30608 · Parser contains an inefficient regular expression in sqlparse
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
CVSS 5.5 · Mittel · EPSS 1,0% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · python
Betroffene Produkte und Versionen
sqlparse
- Softwareversionen
- >= 0.1.15, < 0.4.4: Betroffen
Keine Korrektur veröffentlicht
sqlparse Debian:12
- Softwareversionen
- 0.4.2-1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.4.2-1+deb12u1
Auf 0.4.2-1+deb12u1 aktualisieren
sqlparse Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.4.4-1
Auf 0.4.4-1 aktualisieren
sqlparse Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.4.4-1
Auf 0.4.4-1 aktualisieren
sqlparse PyPI
- Softwareversionen
- 0.1.15
- 0.1.16
- 0.1.17
- 0.1.18
- 0.1.19
- 0.2.0
- 0.2.1
- 0.2.2
- 0.2.3
- 0.2.4
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.4.2
- 0.4.3
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 0.1.15, < 0.4.4
Auf 0.4.4 aktualisieren
sqlparse PyPI
- Softwareversionen
- 0.1.15
- 0.1.16
- 0.1.17
- 0.1.18
- 0.1.19
- 0.2.0
- 0.2.1
- 0.2.2
- 0.2.3
- 0.2.4
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.4.2
- 0.4.3
- Betroffene Versionsbereiche
- {"events": [{"introduced": "0"}, {"fixed": "c457abd5f097dd13fb21543381e7cfafe7d31cfb"}, {"fixed": "e75e35869473832a1eb67772b1adfee2db11b85a"}], "repo": "https://github.com/andialbrecht/sqlparse", "type": "GIT"}
- ECOSYSTEM: ≥ 0.1.15, < 0.4.4
Auf 0.4.4 aktualisieren
sqlparse Ubuntu:18.04:LTS
- Softwareversionen
- 0.2.2-1
- 0.2.4-0.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.2.4-0.1ubuntu0.1
Auf 0.2.4-0.1ubuntu0.1 aktualisieren
sqlparse Ubuntu:20.04:LTS
- Softwareversionen
- 0.2.4-1
- 0.2.4-1build1
- 0.2.4-2
- 0.2.4-3
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.2.4-3ubuntu0.1
Auf 0.2.4-3ubuntu0.1 aktualisieren
sqlparse Ubuntu:22.04:LTS
- Softwareversionen
- 0.4.1-1ubuntu1
- 0.4.2-1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.4.2-1ubuntu0.22.04.1
Auf 0.4.2-1ubuntu0.22.04.1 aktualisieren
Originalquellen
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2
- https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb
- https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a
- https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
- https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-30608