tj-django / django-view-breadcrumbs

Breadcrumb mixins for django views. Create breadcrumbs in seconds.
https://tj-django.github.io/django-view-breadcrumbs/#/
BSD 3-Clause "New" or "Revised" License
76 stars 8 forks source link

CVE-2024-4340 (High) detected in sqlparse-0.4.4-py3-none-any.whl #793

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

mend-bolt-for-github[bot] commented 6 months ago

CVE-2024-4340 - High Severity Vulnerability

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: /tmp/ws-scm/django-view-breadcrumbs

Path to vulnerable library: /tmp/ws-scm/django-view-breadcrumbs

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

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