sqlparse up to 0.4.x sqlparse.parse recursion

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.
7.3$0-$5k0.00

Summaryinfo

A vulnerability has been found in sqlparse up to 0.4.x and classified as critical. Affected is the function sqlparse.parse. Performing a manipulation results in recursion. This vulnerability was named CVE-2024-4340. The attack may be initiated remotely. There is no available exploit. The affected component should be upgraded.

Detailsinfo

A vulnerability classified as critical has been found in sqlparse up to 0.4.x. This affects the function sqlparse.parse. The manipulation with an unknown input leads to a recursion vulnerability. CWE is classifying the issue as CWE-674. The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. This is going to have an impact on availability. The summary by CVE is:

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

It is possible to read the advisory at research.jfrog.com. This vulnerability is uniquely identified as CVE-2024-4340 since 04/30/2024. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 211792 (RHEL 9 : RHOSP 17.1.4 (python-sqlparse) (RHSA-2024:9984)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 0.5.0 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (211792). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 7.5
CNA Vector: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Recursion
CWE: CWE-674 / 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: 211792
Nessus Name: RHEL 9 : RHOSP 17.1.4 (python-sqlparse) (RHSA-2024:9984)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: sqlparse 0.5.0

Timelineinfo

04/30/2024 🔍
04/30/2024 +0 days 🔍
04/30/2024 +0 days 🔍
11/25/2024 +209 days 🔍

Sourcesinfo

Advisory: jfsa-2024-0010
Status: Confirmed

CVE: CVE-2024-4340 (🔍)
GCVE (CVE): GCVE-0-2024-4340
GCVE (VulDB): GCVE-100-262503

Entryinfo

Created: 04/30/2024 17:14
Updated: 11/25/2024 11:28
Changes: 04/30/2024 17:14 (62), 11/25/2024 11:28 (3)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!