Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-bolt-for-github bot opened this issue Jun 26, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

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: /default/dockerbuild/react-ui/crud-app/backend/requirements.txt

Path to vulnerable library: /default/dockerbuild/react-ui/crud-app/backend/requirements.txt

Found in HEAD commit: 7d4ec1976bf34e113ff183b2bc7fa39af6136591

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: /default/dockerbuild/react-ui/crud-app/backend/requirements.txt

Path to vulnerable library: /default/dockerbuild/react-ui/crud-app/backend/requirements.txt

Dependency Hierarchy:

  • djangorestframework-3.15.1-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 7d4ec1976bf34e113ff183b2bc7fa39af6136591

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

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants