JupyterLab — Rce (CVE-2021-32797)
Date: 2021-08
Affected: jupyter/jupyterlab
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2021-32797
CWE: CWE-79
CVSS: 7.4 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N)

JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.


Mitigations:

Architectural layers (MAESTRO):