CVE-2021-32797
Last modified
CVE-2021-32797 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 2.64% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Jupyterlab | < 1.2.21 |
| Jupyter | Jupyterlab | >= 2.0.0, < 2.2.10 |
| Jupyter | Jupyterlab | >= 2.3.0, < 2.3.2 |
| Jupyter | Jupyterlab | >= 3.0.0, < 3.0.17 |
| Jupyter | Jupyterlab | >= 3.1.0, < 3.1.4 |
References
- https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42edExploit, Third Party Advisory
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crxThird Party Advisory
- https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42edExploit, Third Party Advisory
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crxThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32797?
How severe is CVE-2021-32797?
How do I fix CVE-2021-32797?
Are you affected by CVE-2021-32797?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
