CVE-2023-30608
sqlparse - security update
5.5
MEDIUM
CVSS 3.1
EPSS 1.3%
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.
How to fix CVE-2023-30608
To remediate CVE-2023-30608, upgrade the affected package to a fixed version below.
- —upgrade to 0.4.1-1+deb11u1 or later
- —upgrade to 0.2.4-1+deb10u1 or later
- —upgrade to 0.4.4 or later
- —upgrade to c457abd5f097dd13fb21543381e7cfafe7d31cfb or later
Is CVE-2023-30608 being exploited?
Low — EPSS is 1.3%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 0.4.1-1+deb11u1
- from 0, < 0.2.4-1+deb10u1
- >= 0.1.15, < 0.4.4
- from 0, < c457abd5f097dd13fb21543381e7cfafe7d31cfb, < e75e35869473832a1eb67772b1adfee2db11b85a | >= 0.1.15, < 0.4.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |