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) |
Debian Bugs | 1070148 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sqlparse (PTS) | jessie | 0.1.13-2 | vulnerable |
| stretch (lts), stretch | 0.2.2-1+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 0.2.4-1+deb10u1 | vulnerable |
| bullseye | 0.4.1-1 | vulnerable |
| bookworm | 0.4.2-1 | vulnerable |
| sid, trixie | 0.5.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
sqlparse | source | (unstable) | 0.5.0-1 | | | 1070148 |
Notes
[bookworm] - sqlparse <no-dsa> (Minor issue)
[bullseye] - 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
[stretch] - sqlparse <postponed> (Minor issue)
[jessie] - sqlparse <postponed> (Minor issue)