PT-2021-6459 · Unknown+2 · Jupyter Notebook+2

0Xdeva

+1

·

Published

2021-08-05

·

Updated

2024-08-02

·

CVE-2021-32798

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Jupyter Notebook versions prior to 5.7.11 Jupyter Notebook versions prior to 6.4.1
Description The issue is related to the incorrect filtering of special symbols in the Caja component of the Jupyter Notebook environment, allowing a remote attacker to access confidential data, compromise its integrity, and cause a denial of service. In affected versions, an untrusted notebook can execute code on load, and 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, allowing an attacker to execute arbitrary code on the victim's computer using Jupyter APIs.
Recommendations For versions prior to 5.7.11, update to version 5.7.11 or later. For versions prior to 6.4.1, update to version 6.4.1 or later. As a temporary workaround, consider restricting the execution of untrusted notebooks to minimize the risk of exploitation. Avoid opening malicious ipynb documents in Jupyter Notebook until the issue is resolved.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

ALT-PU-2021-3006
BDU:2022-01679
BIT-JUPYTER-BASE-NOTEBOOK-2021-32798
BIT-JUPYTER-NOTEBOOK-2021-32798
CVE-2021-32798
GHSA-HWVQ-6GJX-J797
OPENSUSE-SU-2024:0231-1
PYSEC-2021-118

Affected Products

Alt Linux
Debian
Jupyter Notebook