Name | CVE-2024-4340 |
Description | Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4000-1 |
Debian Bugs | 1070148 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sqlparse (PTS) | bullseye | 0.4.1-1 | vulnerable |
| bullseye (security) | 0.4.1-1+deb11u1 | fixed |
| bookworm | 0.4.2-1 | vulnerable |
| sid, trixie | 0.5.3-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - sqlparse <no-dsa> (Minor issue)
[buster] - sqlparse <postponed> (Minor issue)
Fixed by: https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03 (0.5.0)
https://github.com/advisories/GHSA-2m57-hf25-phgg