Vulnerability Details : CVE-2021-32797
Potential exploit
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.
Vulnerability category: Cross site scripting (XSS)Execute code
Products affected by CVE-2021-32797
- cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
- cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
- cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
- cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
- cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-32797
0.48%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 62 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-32797
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
9.6
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
2.8
|
6.0
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
2.8
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2021-32797
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-32797
-
https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
JupyterLab: XSS due to lack of sanitization of the action attribute of an HTML form · Advisory · jupyterlab/jupyterlab · GitHubThird Party Advisory
-
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
Merge pull request from GHSA-4952-p58q-6crx · jupyterlab/jupyterlab@5048259 · GitHubExploit;Third Party Advisory
Jump to