CVE-2021-41134

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.

Risk Information

Base Score
5.4
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS Score
Exploitation Probability
0.337

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2021-41134 are fixed in Python-nbdime 1.1.1Windows
Vulnerabilities CVE-2021-41134 are fixed in Python-nbdime 2.1.1Windows
Vulnerabilities CVE-2021-41134 are fixed in Python-nbdime 3.1.1Windows
Vulnerabilities CVE-2021-41134 are fixed in Python-nbdime for linux 1.1.1Linux
Vulnerabilities CVE-2021-41134 are fixed in Python-nbdime for linux 2.1.1Linux
Vulnerabilities CVE-2021-41134 are fixed in Python-nbdime for linux 3.1.1Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234