CVE-2024-4340
sqlparse parsing heavily nested list leads to Denial of Service
7.5
HIGH
CVSS 3.1
EPSS 10.9%
Description
Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
How to fix CVE-2024-4340
To remediate CVE-2024-4340, upgrade the affected package to a fixed version below.
- Debian/sqlparse—upgrade to 0.4.1-1+deb11u1 or later
- PyPI/sqlparse—upgrade to 0.5.0 or later
Is CVE-2024-4340 being exploited?
Moderate — EPSS is 10.9%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 0.4.1-1+deb11u1
- from 0, < 0.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |