CVE-2021-32798
The Jupyter notebook is a web-based notebook environment for interacti ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (high), Ubuntu (medium).
Description
The Jupyter notebook is a web-based notebook environment for interactive computing. In affected versions untrusted notebook can execute code on load. Jupyter Notebook uses a deprecated version of Google Caja to sanitize user inputs. A public Caja bypass can be used to trigger an XSS when a victim opens a malicious ipynb document in Jupyter Notebook. The XSS allows an attacker to execute arbitrary code on the victim computer using Jupyter APIs.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | jupyter-base-notebook, jupyter-notebook | 5.7.11, 6.4.1 |
| debian 10 | jupyter-notebook | no fix listed |
| debian 11 | jupyter-notebook | no fix listed |
| debian 12 | jupyter-notebook | 6.4.3-1 |
| debian 13 | jupyter-notebook | 6.4.3-1 |
| debian 14 | jupyter-notebook | 6.4.3-1 |
| debian 9 | jupyter-notebook | no fix listed |
| echo | jupyter-notebook | 6.4.3-1 |
| pip::GitHub Security Advisory pip | notebook | 5.7.11, 6.4.1 |
| ubuntu 18.04-ESM | jupyter-notebook | no fix listed |
Show all 11 entries from 10 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | jupyter-base-notebook | 5.7.11, 6.4.1 |
| bitnami::Bitnami Vulnerability Database | jupyter-notebook | 5.7.11, 6.4.1 |
| debian 10 | jupyter-notebook | no fix listed |
| debian 11 | jupyter-notebook | no fix listed |
| debian 12 | jupyter-notebook | 6.4.3-1 |
| debian 13 | jupyter-notebook | 6.4.3-1 |
| debian 14 | jupyter-notebook | 6.4.3-1 |
| debian 9 | jupyter-notebook | no fix listed |
| echo | jupyter-notebook | 6.4.3-1 |
| pip::GitHub Security Advisory pip | notebook | 5.7.11, 6.4.1 |
| ubuntu 18.04-ESM | jupyter-notebook | no fix listed |
References
- https://github.com/jupyter/notebook
- https://github.com/jupyter/notebook/commit/79fc76e890a8ec42f73a3d009e44ef84c14ef0d5
- https://github.com/jupyter/notebook/security/advisories/GHSA-hwvq-6gjx-j797
- https://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2021-118.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2021-32798
- https://www.cve.org/CVERecord?id=CVE-2021-32798