Advisory

PYSEC-2021-118

Also known as: BIT-jupyter-base-notebook-2021-32798, BIT-jupyter-notebook-2021-32798, CVE-2021-32798, GHSA-hwvq-6gjx-j797

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-08-09 21:15 UTC
Modified
2023-12-06 01:01 UTC

Affected packages and fixes

notebook

PyPI · All systems

Affected

  • introduced 5.7.0, fixed 5.7.11 (ecosystem)

Fixed versions

5.7.11

Fix

  • Fixed version 5.7.11
    pip install --upgrade notebook==5.7.11

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences