CVE-2020-26275: Open redirect vulnerability
Impact What kind of vulnerability is it? Who is impacted?
Open redirect vulnerability - a maliciously crafted link to a jupyter server could redirect the browser to a different website.
All jupyter servers running without a baseurl prefix are technically affected, however, these maliciously crafted links can only be reasonably made for known jupyter server hosts. A link to your jupyter server may appear safe, but ultimately redirect to a spoofed server on the public internet. This same vulnerability was patched in upstream notebook v5.7.8.
Patches
Has the problem been patched? What versions should users upgrade to?
Patched in jupyterserver 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix:
jupyter server --ServerApp.baseurl=/jupyter/
References
OWASP page on open redirects
For more information
If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list security@ipython.org.
Credit: Yaniv Nizry from CxSCA group at Checkmarx
Other sources
The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila. In Jupyter Server before version 1.1.1, an open redirect vulnerability could cause the jupyter server to redirect the browser to a different malicious website. All jupyter servers running without a baseurl prefix are technically affected, however, these maliciously crafted links can only be reasonably made for known jupyter server hosts. A link to your jupyter server may appear safe, but ultimately redirect to a spoofed server on the public internet. This same vulnerability was patched in upstream notebook v5.7.8. This is fixed in jupyterserver 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix: "jupyter server --ServerApp.baseurl=/jupyter/".
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID of this issue?
The vulnerability ID is CVE-2020-26275.
What is the severity of CVE-2020-26275?
The severity of CVE-2020-26275 is medium with a CVSS score of 6.1.
What are the affected software versions of CVE-2020-26275?
The affected software version of CVE-2020-26275 is Jupyter Server up to version 1.1.1.
What is the description of CVE-2020-26275?
CVE-2020-26275 is an open redirect vulnerability in Jupyter Server versions before 1.1.1, which could cause the server to redirect the browser to a different site.
How can I fix CVE-2020-26275?
To fix CVE-2020-26275, it is recommended to update Jupyter Server to version 1.1.1 or later.