Skip to main content
← All vulnerabilities
CVE-2024-4340PYSEC-2026-1940GHSA-2M57-HF25-PHGG

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • sqlparse

    fixed in 0.5.0

  • sqlparsePyPI

    fixed in 0.5.0

References 3

research.jfrog.com

GitHub · andialbrecht/sqlparse

GitHub Advisory Database