CVE-2023-30608
Publication date 18 April 2023
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| sqlparse | ||
| 22.04 LTS jammy |
Fixed 0.4.2-1ubuntu0.22.04.1
|
|
| 20.04 LTS focal |
Fixed 0.2.4-3ubuntu0.1
|
|
| 18.04 LTS bionic |
Fixed 0.2.4-0.1ubuntu0.1
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty | Ignored end of standard support |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-6064-1
- SQL parse vulnerability
- 10 May 2023