CVE-2021-41134
Last modified
CVE-2021-41134 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Nbdime | >= 1.0.0, < 1.1.1 |
| Jupyter | Nbdime | >= 2.0.0, < 2.1.1 |
| Jupyter | Nbdime | >= 3.0.0, <= 3.1.1 |
| Jupyter | Nbdime | >= 5.0.0, < 5.0.2 |
| Jupyter | Nbdime | >= 6.0.0, < 6.1.2 |
| Jupyter | Nbdime-Jupyterlab | >= 1.0.0, < 1.0.1 |
| Jupyter | Nbdime-Jupyterlab | >= 2.0.0, < 2.1.1 |
References
- https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750eaPatch, Third Party Advisory
- https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4Third Party Advisory
- https://github.com/jupyter/nbdime/commit/e44a5cc7677f24b45ebafc756db49058c2f750eaPatch, Third Party Advisory
- https://github.com/jupyter/nbdime/security/advisories/GHSA-p6rw-44q7-3fw4Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41134?
How severe is CVE-2021-41134?
How do I fix CVE-2021-41134?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41129Pterodactyl is an open-source game server management panel b…8.1
- CVE-2021-4113Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-41130Extensible Service Proxy, a.k.a. ESP is a proxy which enable…5.4
- CVE-2021-41131python-tuf is a Python reference implementation of The Updat…8.7
- CVE-2021-41132OMERO.web provides a web based client and plugin infrastruct…6.1
- CVE-2021-41133Flatpak is a system for building, distributing, and running …7.8
- CVE-2021-41135The Cosmos-SDK is a framework for building blockchain applic…6.5
- CVE-2021-41136Puma is a HTTP 1.1 server for Ruby/Rack applications. Prior …3.7
- CVE-2021-41137Minio is a Kubernetes native application for cloud storage. …8.8
- CVE-2021-41138Frontier is Substrate's Ethereum compatibility layer. In the…5.3
- CVE-2021-41139Anuko Time Tracker is an open source, web-based time trackin…6.1
- CVE-2021-4114Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
Are you affected by CVE-2021-41134?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
