CVE-2023-30608

    Dashboard / Vulnerabilities / CVE-2023-30608

    CVE-2023-30608

    Published: 18 Apr 2023Last Modified: 12 Aug 2026

    Summary: Parser contains an inefficient regular expression in sqlparse

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 4b7b0d3a01d8061572137f82a53de7365f3a241c

    Affected versions

    0.4.3
    0.4.2
    0.4.1
    0.4.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-30608 | CVE-DB