CVE-2021-32797
published 2021-08-09CVE-2021-32797: JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can…
PriorityP356critical9.6CVSS 3.1
AVNACLPRNUIRSCCHIHAH
EPSS
2.64%
84.1th percentile
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 ``. 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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | jupyterlab | — | — |
| jupyter | jupyterlab | < 1.2.21 | 1.2.21 |
| jupyter | jupyterlab | >= 2.0.0 < 2.2.10 | 2.2.10 |
| jupyter | jupyterlab | >= 2.3.0 < 2.3.2 | 2.3.2 |
| jupyter | jupyterlab | >= 3.0.0 < 3.0.17 | 3.0.17 |
| jupyter | jupyterlab | >= 3.1.0 < 3.1.4 | 3.1.4 |
| jupyter | notebook | >= 0 < 5.7.11 | 5.7.11 |
| jupyter | notebook | >= 6.0.0 < 6.4.1 | 6.4.1 |
| jupyterlab | jupyterlab | < 1.2.1 | 1.2.1 |
| jupyterlab | jupyterlab | — | — |
| jupyterlab | jupyterlab | — | — |
| jupyterlab | jupyterlab | — | — |
| jupyterlab | jupyterlab | — | — |
| jupyterlab | jupyterlab | >= 0 < 1.2.21 | 1.2.21 |
| jupyterlab | jupyterlab | >= 0 < 504825938c0abfa2fb8ff8d529308830a5ae42ed | 504825938c0abfa2fb8ff8d529308830a5ae42ed |
| jupyterlab | jupyterlab | >= 2 < 2.2.10 | 2.2.10 |
| jupyterlab | jupyterlab | >= 2.0.0a0 < 2.2.10 | 2.2.10 |
| jupyterlab | jupyterlab | >= 2.3 < 2.3.2 | 2.3.2 |
| jupyterlab | jupyterlab | >= 2.3.0a0 < 2.3.2 | 2.3.2 |
| jupyterlab | jupyterlab | >= 3 < 3.0.17 | 3.0.17 |
| jupyterlab | jupyterlab | >= 3.0.0a0 < 3.0.17 | 3.0.17 |
| jupyterlab | jupyterlab | >= 3.1 < 3.1.4 | 3.1.4 |
| jupyterlab | jupyterlab | >= 3.1.0a0 < 3.1.4 | 3.1.4 |
CVSS provenance
nvdv3.19.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
vendor_debian7.4LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
osv·2021-08-23
CVE-2021-32797 [MEDIUM] JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
JupyterLab: XSS due to lack of sanitization of the action attribute of an html
### Impact
Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook.
### Patches
Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21.
### References
[OWASP Page on Restricting Form Submissions](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html)
### For more information
If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list [email protected].
Credit: Guillaume Jeanne from Google
GHSA
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
ghsa·2021-08-23
CVE-2021-32797 [MEDIUM] CWE-75 JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
JupyterLab: XSS due to lack of sanitization of the action attribute of an html
### Impact
Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook.
### Patches
Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21.
### References
[OWASP Page on Restricting Form Submissions](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html)
### For more information
If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list [email protected].
Credit: Guillaume Jeanne from Google
OSV
CVE-2021-32797: JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook
osv·2021-08-09
CVE-2021-32797 CVE-2021-32797: JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook
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 ``. 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.
Debian
CVE-2021-32797: jupyterlab - JupyterLab is a user interface for Project Jupyter which will eventually replace...
vendor_debian·2021·CVSS 7.4
CVE-2021-32797 [HIGH] CVE-2021-32797: jupyterlab - JupyterLab is a user interface for Project Jupyter which will eventually replace...
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 ``. 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.
Scope: local
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42edhttps://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crxhttps://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42edhttps://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
2021-08-09
Published