CVE-2024-4340

Description

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
3.210%
chance of exploitation in the next 30 days
higher than 88.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2024-04-30

Timeline

  1. 2024-04-15GitHub advisory published (GHSA-2m57-hf25-phgg)15 days before publication
  2. 2024-04-30Published by the CNA14:23 UTC
  3. 2024-04-30CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-2m57-hf25-phgg, affected packages:

PackageVulnerable versionsFixed in
PyPI sqlparsebefore 0.5.00.5.0

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources