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
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Debian
Jupyter Notebook