data-prepper
data-prepper copied to clipboard
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 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:
- :x: 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:
- :x: 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
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
This is in trace-analytics-sample-app from the examples directory
:heavy_check_mark: 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.