cbcvebase.
CVE-2024-4340
published 2024-04-30

CVE-2024-4340: Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

PriorityP348high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EXPLOIT
EPSS
3.21%
86.6th percentile
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Affected

6 ranges
VendorProductVersion rangeFixed in
debiansqlparse< sqlparse 0.4.2-1+deb12u1 (bookworm)sqlparse 0.4.2-1+deb12u1 (bookworm)
sqlparse_projectsqlparse>= 0 < 0.4.1-1+deb11u10.4.1-1+deb11u1
sqlparse_projectsqlparse>= 0 < 0.4.2-1+deb12u10.4.2-1+deb12u1
sqlparse_projectsqlparse>= 0 < 0.5.0-10.5.0-1
sqlparse_projectsqlparse>= 0 < 0.5.0-10.5.0-1
sqlparse_projectsqlparse>= 0 < 0.5.00.5.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.