notebook
Affected
- introduced
7.0.0, fixed7.0.7(ecosystem)
Fixed versions
7.0.7
Fix
- Fixed version
7.0.7pip install --upgrade notebook==7.0.7
Advisory
Also known as: BIT-jupyter-base-notebook-2024-22421, BIT-jupyter-notebook-2024-22421, BIT-jupyterlab-2024-22421, CVE-2024-22421, GHSA-44cc-43rp-5947, PYSEC-2026-2534
JupyterLab vulnerable to potential authentication and CSRF tokens leak
Impact
Users of JupyterLab who click on a malicious link may get their Authorization and XSRFToken tokens exposed to a third party when running an older jupyter-server version.
Patches
JupyterLab 4.1.0b2, 4.0.11, and 3.6.7 were patched.
Workarounds
No workaround has been identified, however users should ensure to upgrade jupyter-server to version 2.7.2 or newer which includes a redirect vulnerability fix.
References
Vulnerability reported by user @davwwwx via the bug bounty program sponsored by the European Commission and hosted on the Intigriti platform.
High Basis: CVSS v3 score 7.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
7.0.0, fixed 7.0.7 (ecosystem)7.0.7
7.0.7pip install --upgrade notebook==7.0.7Fix 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