Vulnerability in Andialbrecht Sqlparse

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.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

EPSS: 0.010 (58.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-30608?
CVE-2023-30608 is a medium-severity vulnerability in Andialbrecht Sqlparse, classified under Inefficient Regular Expression Complexity. CVSS score: 5.5/10. Published 2023-04-18.
How severe is CVE-2023-30608?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2023-30608 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.