
CVE catalog
CVE-2021-32798
jupyter-notebook: CVE-2021-32798
- Severity
- Critical · CVSS 9.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.11% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | jupyter-notebook | sid | 7.4.7-3 | fixed |
| Debian | jupyter-notebook | forky | 7.4.7-3 | fixed |
| Debian | jupyter-notebook | trixie | 6.4.13-5 | fixed |
| Debian | jupyter-notebook | bookworm | 6.4.12-2.2 | fixed |
| Ubuntu | jupyter-notebook | 18.04 | 4.2.3-4 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.1.0-2 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.1-2 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.2-1 | vulnerable |
| Ubuntu | jupyter-notebook | 18.04 | 5.2.2-1ubuntu0.1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 5.7.8-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.0-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.0-2 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.2-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.3-1 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.3-2 | vulnerable |
| Ubuntu | jupyter-notebook | 20.04 | 6.0.3-2ubuntu0.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | jupyter-notebook | source | sid | 6.4.3-1 | not yet assigned | Not reported | [992704] |
| Debian | jupyter-notebook | source | forky | 6.4.3-1 | not yet assigned | Not reported | [992704] |
| Debian | jupyter-notebook | source | trixie | 6.4.3-1 | not yet assigned | Not reported | [992704] |
| Debian | jupyter-notebook | source | bookworm | 6.4.3-1 | not yet assigned | Not reported | [992704] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jupyter-notebook]Fixed
Details (2)
6.4.12-2.2· all · bookwormFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
6.4.12-2.2· all · bookwormFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
- [python3-notebook]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.12-2.2· all · bookwormFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
6.4.12-2.2· all · bookwormFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
- [python-notebook-doc]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.12-2.2· all · bookwormFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
6.4.12-2.2· all · bookwormFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12
[Debian 13 (Trixie)]
- [jupyter-notebook]Fixed
Details (2)
6.4.13-5· all · trixieFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · 13
6.4.13-5· all · trixieFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · 13
- [python3-notebook]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.13-5· all · trixieFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · 13
6.4.13-5· all · trixieFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · 13
- [python-notebook-doc]Fixed
Source package: [jupyter-notebook]
Details (2)
6.4.13-5· all · trixieFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · 13
6.4.13-5· all · trixieFixed · Fixed:
6.4.3-1dsa · jupyter-notebook · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0231-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32798]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32798]
- [https://security-tracker.debian.org/tracker/CVE-2021-32798]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]