CVE-2023-30608CWE-1333

Parser contains an inefficient regular expression in sqlparse

Medium · published April 18, 2023

CVSS v3.1
5.5
EPSS
1%
Percentile
61.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00980 · 61.9th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2023-04-18T21:32Z
EPSS history
Timeline
  • 18 APR 21:32Z
    Parser contains an inefficient regular expression in sqlparse
    cvelistv5