CVE-2021-32798 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook
CriticalCVSS 9.6
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 5 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/jupyter-notebook(Ubuntu 18.04) | = 4.2.3-4; = 5.1.0-2; = 5.2.1-2; = 5.2.2-1 +2 more | No fix listed | No fix yet |
| ubuntu/jupyter-notebook(Ubuntu 20.04) | = 5.7.8-1; = 6.0.0-1; = 6.0.0-2; = 6.0.2-1 +4 more | No fix listed | No fix yet |
| debian/jupyter-notebook(Debian 12) | < 6.4.3-1 | 6.4.3-1 | Fixed |
| debian/jupyter-notebook(Debian 13) | < 6.4.3-1 | 6.4.3-1 | Fixed |
| debian/jupyter-notebook(Debian 14) | < 6.4.3-1 | 6.4.3-1 | Fixed |
| jupyter notebook | = 6.4.0; = < 5.7.11; = >= 6.0.0, < 6.4.1; >= 5.7.0, < 5.7.11 | 5.7.11 | Fixed |
| pypi notebook(PyPI) | < 5.7.11; = 0.0.0; = 4.0.0; = 4.0.1 +68 more | 5.7.11, 6.4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi notebook(PyPI) | < 5.7.11 | 5.7.11 |
| pypi notebook(PyPI) | = 0.0.0 | No fix listed |
| pypi notebook(PyPI) | = 4.0.0 | No fix listed |
| pypi notebook(PyPI) | = 4.0.1 | No fix listed |
| pypi notebook(PyPI) | = 4.0.2 | No fix listed |
| pypi notebook(PyPI) | = 4.0.4 | No fix listed |
| pypi notebook(PyPI) | = 4.0.5 | No fix listed |
| pypi notebook(PyPI) | = 4.0.6 | No fix listed |
| pypi notebook(PyPI) | = 4.1.0 | No fix listed |
| pypi notebook(PyPI) | = 4.2.0 | No fix listed |
| pypi notebook(PyPI) | = 4.2.0b1 | No fix listed |
| pypi notebook(PyPI) | = 4.2.1 | No fix listed |
| pypi notebook(PyPI) | = 4.2.2 | No fix listed |
| pypi notebook(PyPI) | = 4.2.3 | No fix listed |
| pypi notebook(PyPI) | = 4.3.0 | No fix listed |
| pypi notebook(PyPI) | = 4.3.1 | No fix listed |
| pypi notebook(PyPI) | = 4.3.2 | No fix listed |
| pypi notebook(PyPI) | = 4.4.0 | No fix listed |
| pypi notebook(PyPI) | = 4.4.1 | No fix listed |
| pypi notebook(PyPI) | = 5.0.0 | No fix listed |
| pypi notebook(PyPI) | = 5.0.0b1 | No fix listed |
| pypi notebook(PyPI) | = 5.0.0b2 | No fix listed |
| pypi notebook(PyPI) | = 5.0.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.0.0rc2 | No fix listed |
| pypi notebook(PyPI) | = 5.1.0 | No fix listed |
Show 68 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi notebook(PyPI) | = 5.1.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.1.0rc2 | No fix listed |
| pypi notebook(PyPI) | = 5.1.0rc3 | No fix listed |
| pypi notebook(PyPI) | = 5.2.0 | No fix listed |
| pypi notebook(PyPI) | = 5.2.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.2.1 | No fix listed |
| pypi notebook(PyPI) | = 5.2.1rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.2.2 | No fix listed |
| pypi notebook(PyPI) | = 5.3.0 | No fix listed |
| pypi notebook(PyPI) | = 5.3.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.3.1 | No fix listed |
| pypi notebook(PyPI) | = 5.4.0 | No fix listed |
| pypi notebook(PyPI) | = 5.4.1 | No fix listed |
| pypi notebook(PyPI) | = 5.5.0 | No fix listed |
| pypi notebook(PyPI) | = 5.5.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.6.0 | No fix listed |
| pypi notebook(PyPI) | = 5.6.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 5.7.0 | No fix listed |
| pypi notebook(PyPI) | = 5.7.1 | No fix listed |
| pypi notebook(PyPI) | = 5.7.10 | No fix listed |
| pypi notebook(PyPI) | = 5.7.2 | No fix listed |
| pypi notebook(PyPI) | = 5.7.3 | No fix listed |
| pypi notebook(PyPI) | = 5.7.4 | No fix listed |
| pypi notebook(PyPI) | = 5.7.5 | No fix listed |
| pypi notebook(PyPI) | = 5.7.6 | No fix listed |
| pypi notebook(PyPI) | = 5.7.8 | No fix listed |
| pypi notebook(PyPI) | = 5.7.9 | No fix listed |
| pypi notebook(PyPI) | >= 6.0.0, < 6.4.1 | 6.4.1 |
| pypi notebook(PyPI) | = 6.0.0 | No fix listed |
| pypi notebook(PyPI) | = 6.0.1 | No fix listed |
| pypi notebook(PyPI) | = 6.0.2 | No fix listed |
| pypi notebook(PyPI) | = 6.0.3 | No fix listed |
| pypi notebook(PyPI) | = 6.1.0 | No fix listed |
| pypi notebook(PyPI) | = 6.1.0rc1 | No fix listed |
| pypi notebook(PyPI) | = 6.1.1 | No fix listed |
| pypi notebook(PyPI) | = 6.1.2 | No fix listed |
| pypi notebook(PyPI) | = 6.1.3 | No fix listed |
| pypi notebook(PyPI) | = 6.1.4 | No fix listed |
| pypi notebook(PyPI) | = 6.1.5 | No fix listed |
| pypi notebook(PyPI) | = 6.1.6 | No fix listed |
| pypi notebook(PyPI) | = 6.2.0 | No fix listed |
| pypi notebook(PyPI) | = 6.3.0 | No fix listed |
| pypi notebook(PyPI) | = 6.4.0 | No fix listed |
| pypi notebook(PyPI) | = 6.4.0a0 | No fix listed |
| pypi notebook(PyPI) | = 6.4.0a1 | No fix listed |
| pypi notebook(PyPI) | = 6.4.0rc0 | No fix listed |
| pypi notebook(PyPI) | >= 5.7.0, < 5.7.11 | 5.7.11 |
| debian/jupyter-notebook(Debian:12) | < 6.4.3-1 | 6.4.3-1 |
| debian/jupyter-notebook(Debian:13) | < 6.4.3-1 | 6.4.3-1 |
| debian/jupyter-notebook(Debian:14) | < 6.4.3-1 | 6.4.3-1 |
| jupyter notebook | >= 5.7.0, < 5.7.11 | 5.7.11 |
| jupyter notebook | = 6.4.0 | No fix listed |
| jupyter notebook | = >= 6.0.0, < 6.4.1 | No fix listed |
| jupyter notebook | = < 5.7.11 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:18.04) | = 4.2.3-4 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:18.04) | = 5.1.0-2 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:18.04) | = 5.2.1-2 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:18.04) | = 5.2.2-1 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:18.04) | = 5.2.2-1ubuntu0.1 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 5.7.8-1 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 6.0.0-1 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 6.0.0-2 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 6.0.2-1 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 6.0.3-1 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 6.0.3-2 | No fix listed |
| ubuntu/jupyter-notebook(Ubuntu:20.04) | = 6.0.3-2ubuntu0.1 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com product
- github.com
- github.com
- Debian Security Tracker CVE-2021-32798 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking