sqlparse 0.4.0/0.4.1 on Python Regex resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in sqlparse 0.4.0/0.4.1 on Python. This affects an unknown part of the component Regex Handler. This manipulation causes resource consumption. This vulnerability is registered as CVE-2021-32839. Remote exploitation of the attack is possible. No exploit is available. It is recommended to upgrade the affected component.
Details
A vulnerability has been found in sqlparse 0.4.0/0.4.1 on Python and classified as problematic. Affected by this vulnerability is some unknown processing of the component Regex Handler. The manipulation with an unknown input leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. As an impact it is known to affect availability.
The weakness was published 09/20/2021 as 8238a9e450ed1524e40cb3a8b0b3c00606903aeb. The advisory is shared at github.com. This vulnerability is known as CVE-2021-32839 since 05/12/2021. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1499 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.2 eliminates this vulnerability. Applying the patch 8238a9e450ed1524e40cb3a8b0b3c00606903aeb 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: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 7.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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Resource consumptionCWE: CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
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.2
Patch: 8238a9e450ed1524e40cb3a8b0b3c00606903aeb
Timeline
05/12/2021 🔍09/20/2021 🔍
09/20/2021 🔍
11/04/2025 🔍
Sources
Advisory: 8238a9e450ed1524e40cb3a8b0b3c00606903aebStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2021-32839 (🔍)
GCVE (CVE): GCVE-0-2021-32839
GCVE (VulDB): GCVE-100-182965
Entry
Created: 09/20/2021 21:57Updated: 11/04/2025 08:30
Changes: 09/20/2021 21:57 (52), 09/29/2021 12:25 (2), 09/29/2021 12:32 (1), 12/22/2024 03:22 (28), 11/04/2025 08:30 (8)
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.