cve.bz

CVE-2023-30608

7.5 highEPSS 1.0%

High (7.5). EPSS 1.0% chance of exploitation in the next 30 days. Fixed in sqlparse 0.4.4.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% chance of exploitation in the next 30 days; higher than 62% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rrm6-wvj7-cwh2PyPIsqlparse>=0.1.15 <0.4.40.4.4
PYSEC-2023-87PyPIsqlparse>=0.1.15 <0.4.40.4.4

References

Check your stackJSON