KOSASIH / SilkRoad

An E-commerce, multifunctional utility platform made by Vietnamese Pioneers
https://pisilkroad.com
Other
4 stars 0 forks source link

djangorestframework-3.15.1-py3-none-any.whl: 1 vulnerabilities (highest severity is: 6.1) #96

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

mend-bolt-for-github[bot] commented 3 months ago
Vulnerable Library - djangorestframework-3.15.1-py3-none-any.whl

Web APIs for Django, made easy.

Library home page: https://files.pythonhosted.org/packages/c0/7e/8c45ea7f85dd5d52ceddbacc6f56ecaca21ecbfc0e8c34c95618a14d5082/djangorestframework-3.15.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Found in HEAD commit: 5ab3a90e6565ab40c5d420f2dd7b7d54c086025a

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (djangorestframework version) Remediation Possible**
CVE-2024-21520 Medium 6.1 djangorestframework-3.15.1-py3-none-any.whl Direct djangorestframework - 3.15.2

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

Details

CVE-2024-21520 ### Vulnerable Library - djangorestframework-3.15.1-py3-none-any.whl

Web APIs for Django, made easy.

Library home page: https://files.pythonhosted.org/packages/c0/7e/8c45ea7f85dd5d52ceddbacc6f56ecaca21ecbfc0e8c34c95618a14d5082/djangorestframework-3.15.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy: - :x: **djangorestframework-3.15.1-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: 5ab3a90e6565ab40c5d420f2dd7b7d54c086025a

Found in base branch: main

### Vulnerability Details

Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with
tags.

Publish Date: 2024-06-26

URL: CVE-2024-21520

### CVSS 3 Score Details (6.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2024-06-26

Fix Resolution: djangorestframework - 3.15.2

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)