CVE-2024-4340

Publication date 30 April 2024

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Status

Package Ubuntu Release Status
sqlparse 24.04 LTS noble
Fixed 0.4.4-1ubuntu0.1
23.10 mantic
Fixed 0.4.2-1ubuntu1.1
22.04 LTS jammy
Fixed 0.4.2-1ubuntu0.22.04.2
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected

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