CVE-2023-30608 - CVE House
Back to Database
Status published Medium CVE-2023-30608

Parser contains an inefficient regular expression in sqlparse

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-30608

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

andialbrecht

View all reports →

Affected Software

sqlparse
Vulnerable Versions:
>= 0.1.15, < 0.4.4

Timeline

Official Publish: April 18th, 2023
Last Modified: November 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses (CWE)