{"id":"GHSA-62qf-jcq8-8gxw","aliases":["ROOT-APP-PYPI-GHSA-62qf-jcq8-8gxw"],"status":"published","title":"Duplicate Advisory: sqlparse parsing heavily nested list leads to Denial of Service","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2m57-hf25-phgg. This link is maintained to preserve external references.\n\n## Original Description\nPassing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-674"],"published":"2024-04-30T15:30:38Z","modified":"2026-11-06T11:15:06Z","fixes":[{"ecosystem":"Root:PyPI","package":"sqlparse","fixed_in":["0.3.0+aikido.3","0.3.0+aikido.4","0.3.0+aikido.5","0.3.0+aikido.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Root:PyPI","package":"sqlparse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0+aikido.3"},{"fixed":"0.3.0+aikido.4"},{"fixed":"0.3.0+aikido.5"},{"fixed":"0.3.0+aikido.6"}]}]}],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4340","tags":["advisory"]},{"url":"https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2m57-hf25-phgg","tags":["advisory"]},{"url":"https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292","tags":["web"]},{"url":"https://github.com/advisories/GHSA-62qf-jcq8-8gxw"}],"sources":{"ghsa":[{"id":"GHSA-62qf-jcq8-8gxw","title":"Duplicate Advisory: sqlparse parsing heavily nested list leads to Denial of Service","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2m57-hf25-phgg. This link is maintained to preserve external references.\n\n## Original Description\nPassing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.","status":"withdrawn","published":"2024-04-30T15:30:38Z","modified":"2024-05-01T11:08:48Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T14:37:47.338362Z"}],"osv":[{"id":"GHSA-62qf-jcq8-8gxw","title":"Duplicate Advisory: sqlparse parsing heavily nested list leads to Denial of Service","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-2m57-hf25-phgg. This link is maintained to preserve external references.\n\n## Original Description\nPassing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.","status":"withdrawn","published":"2024-04-30T15:30:38Z","modified":"2024-12-04T05:42:18.864664Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-674"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"ROOT-APP-PYPI-GHSA-62qf-jcq8-8gxw","title":"GHSA-62qf-jcq8-8gxw in sqlparse - Patched by Root","description":"Root has patched GHSA-62qf-jcq8-8gxw in the sqlparse package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-11-06T10:16:34Z","modified":"2026-11-06T11:15:06.269416103Z","updated_at":"2026-11-06T11:42:45.055937Z"}]}}
