← Back

CVE-2021-41134

nvd nist
Published: Nov 3, 2021Modified: Nov 21, 2024

JSON object

Loading...
5.4
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Exploitability: 2.3 / Impact: 2.7
Source: NVD

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.

Affected (7)

2 products
Nbdime
Nbdime Jupyterlab
Configuration A
3 vulnerable
Vulnerable SoftwareAffected Versions
Jupyter
From 1.0.0 to 1.1.1
From 2.0.0 to 2.1.1
From 3.0.0 to 3.1.1
Configuration B
2 vulnerable
Vulnerable SoftwareAffected Versions
Jupyter
From 5.0.0 to 5.0.2
From 6.0.0 to 6.1.2
Configuration C
2 vulnerable
Vulnerable SoftwareAffected Versions
Jupyter
From 1.0.0 to 1.0.1
From 2.0.0 to 2.1.1

References (4)

Source: security-advisories@github.com
PatchThird Party Advisory
Source: security-advisories@github.com
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
PatchThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.