notebook
Affected
- introduced
0, fixed5.7.11, introduced6.0.0, fixed6.4.1(ecosystem)
Fixed versions
5.7.11, 6.4.1
Fix
- Fixed version
5.7.11pip install --upgrade notebook==5.7.11 - Fixed version
6.4.1pip install --upgrade notebook==6.4.1
Advisory
Also known as: BIT-jupyterlab-2021-32797, CVE-2021-32797, GHSA-4952-p58q-6crx, PYSEC-2021-130
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
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
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
High Basis: CVSS v3 score 7.4, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
0, fixed 5.7.11, introduced 6.0.0, fixed 6.4.1 (ecosystem)5.7.11, 6.4.1
5.7.11pip install --upgrade notebook==5.7.116.4.1pip install --upgrade notebook==6.4.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0