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
- Andialbrecht Sqlparse — versions >= 0.1.15, < 0.4.4
- Sqlparse_project Sqlparse
- Debian Debian_linux — versions 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Technical Description, x_refsource_MISC)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
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.