ADVISORIES

Vulnerability

CVE-2023-30608

sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit `e75e358`. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit `c457abd5f`. Users are advised to upgrade. There are no known workarounds for this issue.

20 advisories report this vulnerability, across 7 ecosystems.

Advisories in PyPI

  • GHSA-rrm6-wvj7-cwh2

    sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service

    Moderate CVE-2023-30608 PyPI Updated 4 November 2025
  • PYSEC-2023-87

    sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced…

    CVE-2023-30608 PyPI Updated 8 November 2023

References