CVE-2023-30608

high
Published 2023-04-21 ยท Modified 2023-11-08
CVSS v3
โ€”
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed0.4.2-1+deb12u1
debian debianbullseyefixed0.4.1-1+deb11u1
debian debianforkyfixed0.4.4-1
debian debiansidfixed0.4.4-1
debian debiantrixiefixed0.4.4-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIsqlparse>=0.1.15,<0.4.40.4.4
python PyPIsqlparse<e75e35869473832a1eb67772b1adfee2db11b85a||>=0.1.15,<0.4.4c457abd5f097dd13fb21543381e7cfafe7d31cfb

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.