CVE-2023-30608

Publication date 18 April 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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 23.04 lunar
Fixed 0.4.2-1ubuntu0.23.04.1
22.10 kinetic
Fixed 0.4.2-1ubuntu0.22.10.1
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

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
sqlparse

Severity score breakdown

Parameter Value
Base score 7.5 · High
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