CVE-2021-32798
Special Element Injection in notebook
10.0
CRITICAL
CVSS 3.1
EPSS 0.17%
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.
How to fix CVE-2021-32798
To remediate CVE-2021-32798, upgrade the affected package to a fixed version below.
- —upgrade to 5.7.11 or later
- —upgrade to 5.7.11 or later
- —no fix listed
- —upgrade to 5.7.11 or later
- —upgrade to 79fc76e890a8ec42f73a3d009e44ef84c14ef0d5 or later
Is CVE-2021-32798 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 5.7.0, < 5.7.11, >= 6.4.0, < 6.4.1
- >= 5.7.0, < 5.7.11, >= 6.4.0, < 6.4.1
- from 0
- from 0, < 5.7.11
- from 0, < 79fc76e890a8ec42f73a3d009e44ef84c14ef0d5 | >= 5.7.0, < 5.7.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
| osv | CVSS 3.1 | CRITICAL10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |