CVE-2021-41134
Jupyter nbdime Stored XSS
Description
nbdime provides tools for diffing and merging of Jupyter Notebooks. In affected versions a stored cross-site scripting (XSS) issue exists within the Jupyter-owned nbdime project. It appears that when reading the file name and path from disk, the extension does not sanitize the string it constructs before returning it to be displayed. The diffNotebookCheckpoint function within nbdime causes this issue. When attempting to display the name of the local notebook (diffNotebookCheckpoint), nbdime appears to simply append .ipynb to the name of the input file. The NbdimeWidget is then created, and the base string is passed through to the request API function. From there, the frontend simply renders the HTML tag and anything along with it. Users are advised to patch to the most recent version of the affected product.
INFO
Published Date :
Nov. 3, 2021, 6:15 p.m.
Last Modified :
Nov. 5, 2021, 5:24 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.8
Exploitability Score :
2.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-41134
.
URL | Resource |
---|---|
https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750ea | Patch Third Party Advisory |
https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-41134
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-41134
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Nov. 05, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750ea No Types Assigned https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750ea Patch, Third Party Advisory Changed Reference Type https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4 No Types Assigned https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:python:*:* versions from (including) 1.0.0 up to (excluding) 1.1.1 *cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:python:*:* versions from (including) 2.0.0 up to (excluding) 2.1.1 *cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:python:*:* versions from (including) 3.0.0 up to (including) 3.1.1 Added CPE Configuration OR *cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:node.js:*:* versions from (including) 5.0.0 up to (excluding) 5.0.2 *cpe:2.3:a:jupyter:nbdime:*:*:*:*:*:node.js:*:* versions from (including) 6.0.0 up to (excluding) 6.1.2 Added CPE Configuration OR *cpe:2.3:a:jupyter:nbdime-jupyterlab:*:*:*:*:*:node.js:*:* versions from (including) 1.0.0 up to (excluding) 1.0.1 *cpe:2.3:a:jupyter:nbdime-jupyterlab:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.1.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-41134
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-41134
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.00%
score
0.16930
percentile