CVE-2021-32797
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or β if you've already worked around this in production β publish your fix to the community-verified tier.
β Propose a mitigation on Community β Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| β | Fixed | 3.1.4-1 |
Debian Fixed 3 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0 |
| sid | Fixed | 0 |
| forky | Fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | notebook | <5.7.11 | 5.7.11 |
| PyPI | jupyterlab | <1.2.21 | 1.2.21 |
| PyPI | jupyterlab | >=2.0.0a0,<2.2.10 | 2.2.10 |
| PyPI | jupyterlab | >=2.3.0a0,<2.3.2 | 2.3.2 |
| PyPI | jupyterlab | >=3.0.0a0,<3.0.17 | 3.0.17 |
| PyPI | notebook | >=6.0.0,<6.4.1 | 6.4.1 |
| PyPI | jupyterlab | >=3.1.0a0,<3.1.4 | 3.1.4 |
| PyPI | jupyterlab | <504825938c0abfa2fb8ff8d529308830a5ae42ed||>=3.1,<3.1.4 | 504825938c0abfa2fb8ff8d529308830a5ae42ed |
References
- https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
- https://nvd.nist.gov/vuln/detail/CVE-2021-32797
- https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml
- https://security.archlinux.org/ASA-202108-10
- https://security-tracker.debian.org/tracker/CVE-2021-32797
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.