CVE-2021-41134
Stored XSS in Jupyter nbdime
描述
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.
如何修補 CVE-2021-41134
要修補 CVE-2021-41134,請將受影響套件升級到下列已修補版本。
- —升級至 5.0.2 或更新版本
- —升級至 1.0.1 或更新版本
- —升級至 1.1.1 或更新版本
- —升級至 e44a5cc7677f24b45ebafc756db49058c2f750ea 或更新版本
CVE-2021-41134 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 5.0.2
- from 0, < 1.0.1
- from 0, < 1.1.1
- from 0, < e44a5cc7677f24b45ebafc756db49058c2f750ea | from 0, < 1.1.1, >= 2.0.0, < 2.1.1, >= 3.0.0, < 3.1.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
| osv | CVSS 3.1 | HIGH8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |