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.13.1-py3-none-any.whl: 1 vulnerabilities (highest severity is: 6.1) #66

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

Comments

@mend-for-github-com
Copy link
Contributor

Vulnerable Library - djangorestframework-3.13.1-py3-none-any.whl

Web APIs for Django, made easy.

Library home page: https://files.pythonhosted.org/packages/c8/45/2588c7c5a01a7da6822c6ffbc9a731d498c318a803a29ae780ec635ea41d/djangorestframework-3.13.1-py3-none-any.whl

Path to dependency file: /connectors/django/Pipfile

Path to vulnerable library: /connectors/django/Pipfile

Found in HEAD commit: d1552901c0fe42941f6e8b237b39f6ea828097d5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (djangorestframework version) Remediation Possible**
CVE-2024-21520 Medium 6.1 djangorestframework-3.13.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.13.1-py3-none-any.whl

Web APIs for Django, made easy.

Library home page: https://files.pythonhosted.org/packages/c8/45/2588c7c5a01a7da6822c6ffbc9a731d498c318a803a29ae780ec635ea41d/djangorestframework-3.13.1-py3-none-any.whl

Path to dependency file: /connectors/django/Pipfile

Path to vulnerable library: /connectors/django/Pipfile

Dependency Hierarchy:

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

Found in HEAD commit: d1552901c0fe42941f6e8b237b39f6ea828097d5

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

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

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