CVE-2021-32797
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Bitnami. Niedriger laut GHSA (mittel).
Beschreibung
JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | jupyterlab | 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4 |
| pip::GitHub Security Advisory pip | jupyterlab, notebook | 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4 und 1 weitere |
Alle 3 Einträge aus 2 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | jupyterlab | 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4 |
| pip::GitHub Security Advisory pip | jupyterlab | 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4 |
| pip::GitHub Security Advisory pip | notebook | 5.7.11, 6.4.1 |
Referenzen
- https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx
- https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2021-32797