CVE-2021-32797
HIGH7.4EPSS 0.87%JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
發布日:2021/8/23修改日:2026/3/13
描述
### Impact Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook. ### Patches Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21. ### References [OWASP Page on Restricting Form Submissions](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html) ### For more information If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list [email protected]. Credit: Guillaume Jeanne from Google
受影響套件(4)
- Bitnami/jupyterlabfrom 0, < 1.2.21, >= 2.0.0, < 2.2.10, >= 2.3.0, < 2.3.2, >= 3.0.0, < 3.0.17, >= 3.1.0, < 3.1.4
- PyPI/jupyterlabfrom 0, < 1.2.21
- PyPI/jupyterlabfrom 0, < 504825938c0abfa2fb8ff8d529308830a5ae42ed | from 0, < 1.2.21, >= 2, < 2.2.10, >= 2.3, < 2.3.2, >= 3, < 3.0.17, >= 3.1, < 3.1.4
- PyPI/notebookfrom 0, < 5.7.11
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-32797
- WEBhttps://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx
- WEBhttps://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
- WEBhttps://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml