CVE-2023-30608: sqlparse - Regular Expression Denial of Service
- Cve: CVE-2023-30608
- Name: sqlparse - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause denial of service by exploiting the regex vulnerability, leading to application slowdown or crash.
- Remediation: Upgrade to version 0.4.4 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0098
- Epss percentile: 0.62943
- Assignee: [email protected]
- Published at: 2023-04-18T22:15:08Z
- Age in days: 1316
- Modified at: 2026-06-17T05:55:07Z
- Patch available: yes
- References total: 6
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-30608
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sqlparse_project:sqlparse | >= 0.1.15, < 0.4.4 | no | nvd | /v1/products/sqlparse_project/sqlparse |
| debian:debian_linux | = 10.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| andialbrecht/sqlparse | commit, package, security_advisory | yes | /v1/repositories/andialbrecht/sqlparse |
Index
- Repositories: 93
- Repositories high signal: 45
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since