Bug 2046370 (CVE-2021-32797) - CVE-2021-32797 JupyterLab: unstrusted notebook can execute on load which could lead to an RCE
Summary: CVE-2021-32797 JupyterLab: unstrusted notebook can execute on load which coul...
Keywords:
Status: NEW
Alias: CVE-2021-32797
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2046371
TreeView+ depends on / blocked
 
Reported: 2022-01-26 16:34 UTC by Michael Kaplan
Modified: 2023-07-07 08:31 UTC (History)
0 users

Fixed In Version: JupyterLab 3.1.4, JupyterLab 3.0.17, JupyterLab 2.3.2, JupyterLab 2.2.10, JupyterLab 1.2.21
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2022-01-26 16:34:15 UTC
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.

References: 

https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed


Note You need to log in before you can comment on or make changes to this bug.