CVE catalog

CVE-2021-32798

jupyter-notebook: CVE-2021-32798

[CVE catalog]

Severity
Critical · CVSS 9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.11% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjupyter-notebooksid7.4.7-3fixed
Debianjupyter-notebookforky7.4.7-3fixed
Debianjupyter-notebooktrixie6.4.13-5fixed
Debianjupyter-notebookbookworm6.4.12-2.2fixed
Ubuntujupyter-notebook18.044.2.3-4vulnerable
Ubuntujupyter-notebook18.045.1.0-2vulnerable
Ubuntujupyter-notebook18.045.2.1-2vulnerable
Ubuntujupyter-notebook18.045.2.2-1vulnerable
Ubuntujupyter-notebook18.045.2.2-1ubuntu0.1vulnerable
Ubuntujupyter-notebook20.045.7.8-1vulnerable
Ubuntujupyter-notebook20.046.0.0-1vulnerable
Ubuntujupyter-notebook20.046.0.0-2vulnerable
Ubuntujupyter-notebook20.046.0.2-1vulnerable
Ubuntujupyter-notebook20.046.0.3-1vulnerable
Ubuntujupyter-notebook20.046.0.3-2vulnerable
Ubuntujupyter-notebook20.046.0.3-2ubuntu0.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjupyter-notebooksourcesid6.4.3-1not yet assignedNot reported[992704]
Debianjupyter-notebooksourceforky6.4.3-1not yet assignedNot reported[992704]
Debianjupyter-notebooksourcetrixie6.4.3-1not yet assignedNot reported[992704]
Debianjupyter-notebooksourcebookworm6.4.3-1not yet assignedNot reported[992704]

[Debian bug #992704]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

    • 6.4.12-2.2 · all · bookworm

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · bookworm; dsa · jupyter-notebook · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · 13

    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · 13

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · 13

    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · 13

  • Source package: [jupyter-notebook]

    Details (2)
    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · 13

    • 6.4.13-5 · all · trixie

      Fixed · Fixed: 6.4.3-1

      dsa · jupyter-notebook · debian · 13

Observed:

References