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

CVE-2024-21485 (Medium) detected in dash_core_components-2.0.0-py3-none-any.whl, dash_html_components-2.0.0-py3-none-any.whl - autoclosed #4083

Closed
1 task
mend-for-github-com bot opened this issue Feb 5, 2024 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Feb 5, 2024

CVE-2024-21485 - Medium Severity Vulnerability

Vulnerable Libraries - dash_core_components-2.0.0-py3-none-any.whl, dash_html_components-2.0.0-py3-none-any.whl

dash_core_components-2.0.0-py3-none-any.whl

Core component suite for Dash

Library home page: https://files.pythonhosted.org/packages/00/9e/a29f726e84e531a36d56cff187e61d8c96d2cc253c5bcef9a7695acb7e6a/dash_core_components-2.0.0-py3-none-any.whl

Path to dependency file: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Dependency Hierarchy:

  • dash_core_components-2.0.0-py3-none-any.whl (Vulnerable Library)
dash_html_components-2.0.0-py3-none-any.whl

Vanilla HTML components for Dash

Library home page: https://files.pythonhosted.org/packages/75/65/1b16b853844ef59b2742a7de74a598f376ac0ab581f0dcc34db294e5c90e/dash_html_components-2.0.0-py3-none-any.whl

Path to dependency file: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Path to vulnerable library: /examples/trace-analytics-sample-app/sample-app/requirements.txt

Dependency Hierarchy:

  • dash_html_components-2.0.0-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 2f4c8c9c7f8d4ec6e76c3653ef8446fcee35cd50

Found in base branch: main

Vulnerability Details

Versions of the package dash-core-components before 2.13.0; versions of the package dash-core-components before 2.0.0; versions of the package dash before 2.15.0; versions of the package dash-html-components before 2.0.0; versions of the package dash-html-components before 2.0.16 are vulnerable to Cross-site Scripting (XSS) when the href of the a tag is controlled by an adversary. An authenticated attacker who stores a view that exploits this vulnerability could steal the data that's visible to another user who opens that view - not just the data already included on the page, but they could also, in theory, make additional requests and access other data accessible to this user. In some cases, they could also steal the access tokens of that user, which would allow the attacker to act as that user, including viewing other apps and resources hosted on the same server.

Note:

This is only exploitable in Dash apps that include some mechanism to store user input to be reloaded by a different user.

Publish Date: 2024-02-02

URL: CVE-2024-21485

CVSS 3 Score Details (5.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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-21485

Release Date: 2024-02-02

Fix Resolution: dash - 2.15.0, dash-core-components - 2.13.0, dash-html-components - 2.0.16


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 5, 2024
@mend-for-github-com mend-for-github-com bot changed the title CVE-2024-21485 (Medium) detected in multiple libraries CVE-2024-21485 (Medium) detected in dash_core_components-2.0.0-py3-none-any.whl, dash_html_components-2.0.0-py3-none-any.whl Feb 6, 2024
@asifsmohammed
Copy link
Collaborator

This is in trace-analytics-sample-app from the examples directory

Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2024-21485 (Medium) detected in dash_core_components-2.0.0-py3-none-any.whl, dash_html_components-2.0.0-py3-none-any.whl CVE-2024-21485 (Medium) detected in dash_core_components-2.0.0-py3-none-any.whl, dash_html_components-2.0.0-py3-none-any.whl - autoclosed Apr 15, 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 WhiteSource
Projects
Development

No branches or pull requests

1 participant