| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in sqlparse up to 0.4.3 on Python. It has been rated as problematic. Affected by this vulnerability is an unknown functionality. This manipulation causes redos. This vulnerability is registered as CVE-2023-30608. The attack needs to be launched locally. No exploit is available. Upgrading the affected component is advised.
Details
A vulnerability classified as problematic was found in sqlparse up to 0.4.3 on Python. Affected by this vulnerability is an unknown function. The manipulation with an unknown input leads to a redos vulnerability. The CWE definition for the vulnerability is CWE-1333. The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. As an impact it is known to affect availability. The summary by CVE is:
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.
The weakness was published 04/19/2023 as GHSA-rrm6-wvj7-cwh2. The advisory is shared at github.com. This vulnerability is known as CVE-2023-30608 since 04/13/2023. It demands that the victim is doing some kind of user interaction. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1449.003 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 213318 (Debian dla-4000 : python-sqlparse-doc - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.4.4 eliminates this vulnerability. Applying the patch c457abd5f097dd13fb21543381e7cfafe7d31cfb is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (213318). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 2.8
VulDB Temp Score: 2.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 5.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: RedosCWE: CWE-1333 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 213318
Nessus Name: Debian dla-4000 : python-sqlparse-doc - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: sqlparse 0.4.4
Patch: c457abd5f097dd13fb21543381e7cfafe7d31cfb
Timeline
04/13/2023 🔍04/19/2023 🔍
04/19/2023 🔍
04/27/2025 🔍
Sources
Advisory: GHSA-rrm6-wvj7-cwh2Status: Confirmed
CVE: CVE-2023-30608 (🔍)
GCVE (CVE): GCVE-0-2023-30608
GCVE (VulDB): GCVE-100-226765
Entry
Created: 04/19/2023 06:51Updated: 04/27/2025 04:44
Changes: 04/19/2023 06:51 (51), 05/13/2023 14:58 (11), 12/22/2024 03:22 (33), 04/27/2025 04:44 (3)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.