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.

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Satellite Subscribe
Satellite Capsule Subscribe
Sqlparse Project Subscribe
Sqlparse Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3425-1 sqlparse security update
Debian DLA Debian DLA DLA-4000-1 sqlparse security update
EUVD EUVD EUVD-2023-0243 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.
Github GHSA Github GHSA GHSA-rrm6-wvj7-cwh2 sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service
Ubuntu USN Ubuntu USN USN-6064-1 SQL parse vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Thu, 13 Feb 2025 17:00:00 +0000

Type Values Removed Values Added
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. 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.

Thu, 06 Feb 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-03T21:48:07.853Z

Reserved: 2023-04-13T13:25:18.830Z

Link: CVE-2023-30608

cve-icon Vulnrichment

Updated: 2025-11-03T21:48:07.853Z

cve-icon NVD

Status : Modified

Published: 2023-04-18T22:15:08.267

Modified: 2025-11-03T22:16:10.493

Link: CVE-2023-30608

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-04-19T00:00:00Z

Links: CVE-2023-30608 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses