GHSA-rrm6-wvj7-cwh2

    Dashboard / Vulnerabilities / GHSA-rrm6-wvj7-cwh2

    GHSA-rrm6-wvj7-cwh2

    Published: 21 Apr 2023Last Modified: 4 Nov 2025

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

    Details: ### Impact The SQL parser contains a regular expression that is vulnerable to [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) (Regular Expression Denial of Service). The vulnerability may lead to Denial of Service (DoS). ### Patches This issues has been fixed in sqlparse 0.4.4. ### Workarounds None. ### References This issue was discovered and reported by GHSL team member [@erik-krogh (Erik Krogh Kristensen)](https://github.com/erik-krogh). - Commit that introduced the vulnerability: e75e35869473832a1eb67772b1adfee2db11b85a

    Affected packages

    Package

    Name: sqlparse

    Purl: pkg:pypi/sqlparse

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.1.15
    Fixed -0.4.4

    Affected versions

    0.1.15
    0.1.16
    0.1.17
    0.1.18
    0.1.19

    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
    GHSA-rrm6-wvj7-cwh2 | CVE-DB