AdamOswald / tes

2 stars 1 forks source link

sqlparse-0.4.4-py3-none-any.whl: 1 vulnerabilities (highest severity is: 7.5) #175

Open mend-bolt-for-github[bot] opened 2 months ago

mend-bolt-for-github[bot] commented 2 months ago
Vulnerable Library - sqlparse-0.4.4-py3-none-any.whl

A non-validating SQL parser.

Library home page: https://files.pythonhosted.org/packages/98/5a/66d7c9305baa9f11857f247d4ba761402cea75db6058ff850ed7128957b7/sqlparse-0.4.4-py3-none-any.whl

Path to dependency file: /PyDaw-0.4.6

Path to vulnerable library: /PyDaw-0.4.6,/requirements.txt,/tmp/ws-scm/tes

Found in HEAD commit: 2ecbce8beb9b9bd3cb2562e3a8543366c300c4c6

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (sqlparse version) Remediation Possible**
CVE-2024-4340 High 7.5 sqlparse-0.4.4-py3-none-any.whl Direct sqlparse - 0.5.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-4340 ### Vulnerable Library - sqlparse-0.4.4-py3-none-any.whl

A non-validating SQL parser.

Library home page: https://files.pythonhosted.org/packages/98/5a/66d7c9305baa9f11857f247d4ba761402cea75db6058ff850ed7128957b7/sqlparse-0.4.4-py3-none-any.whl

Path to dependency file: /PyDaw-0.4.6

Path to vulnerable library: /PyDaw-0.4.6,/requirements.txt,/tmp/ws-scm/tes

Dependency Hierarchy: - :x: **sqlparse-0.4.4-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: 2ecbce8beb9b9bd3cb2562e3a8543366c300c4c6

Found in base branch: main

### Vulnerability Details

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

Publish Date: 2024-04-30

URL: CVE-2024-4340

### CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-4340

Release Date: 2024-04-30

Fix Resolution: sqlparse - 0.5.0

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
secure-code-warrior-for-github[bot] commented 2 months ago

Micro-Learning Topic: Denial of service (Detected by phrase)

Matched on "Denial of Service"

The Denial of Service (DoS) attack is focused on making a resource (site, application, server) unavailable for the purpose it was designed. There are many ways to make a service unavailable for legitimate users by manipulating network packets, programming, logical, or resources handling vulnerabilities, among others. Source: https://www.owasp.org/index.php/Denial_of_Service

Try a challenge in Secure Code Warrior

Micro-Learning Topic: Vulnerable library (Detected by phrase)

Matched on "Vulnerable Library"

What is this? (2min video)

Use of vulnerable components will introduce weaknesses into the application. Components with published vulnerabilities will allow easy exploitation as resources will often be available to automate the process.

Try a challenge in Secure Code Warrior