sqlparse 0.4.0/0.4.1 on Python Regex resource consumption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB 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.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Resource consumption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 213318
Nessus Name: Debian dla-4000 : python-sqlparse-doc - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: sqlparse 0.4.2
Patch: 8238a9e450ed1524e40cb3a8b0b3c00606903aeb

Timelineinfo

05/12/2021 🔍
09/20/2021 +131 days 🔍
09/20/2021 +0 days 🔍
11/04/2025 +1506 days 🔍

Sourcesinfo

Advisory: 8238a9e450ed1524e40cb3a8b0b3c00606903aeb
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2021-32839 (🔍)
GCVE (CVE): GCVE-0-2021-32839
GCVE (VulDB): GCVE-100-182965

Entryinfo

Created: 09/20/2021 21:57
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!