Vulnerability · Published Dec 21, 2020 · Assigned by GitHub_M
CVE-2020-26275Open redirect vulnerability
Medium 6.1
In plain English
A medium-severity open redirect in jupyter_server from jupyter-server. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 base_url 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 jupyter_server 1.1.1. If upgrade is not available, a workaround can be to run your server on a url prefix: "jupyter server --ServerApp.base_url=/jupyter/".
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | jupyter-server | 1.1.1-1 | DEBIAN-CVE-2020-26275 |
| Debian:13 | jupyter-server | 1.1.1-1 | DEBIAN-CVE-2020-26275 |
| Debian:14 | jupyter-server | 1.1.1-1 | DEBIAN-CVE-2020-26275 |
| PyPI | jupyter-server | no fix listed | PYSEC-2020-346 |
| PyPI | jupyter-server | 1.1.1 | PYSEC-2020-50 |
| PyPI | jupyter-server | 1.1.1 | GHSA-9f66-54xg-pc2c |
| Ubuntu:22.04:LTS | jupyter-server | no fix listed | UBUNTU-CVE-2020-26275 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jupyter-server | jupyter_server | < 1.1.1 |
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-9f66-54xg-pc2c x_refsource_CONFIRM
- https://github.com/jupyter-server/jupyter_server/commit/85e4abccf6ea9321d29153f73b0bd72ccb3a6bca x_refsource_MISC
- https://pypi.org/project/jupyter-server/ x_refsource_MISC
- https://advisory.checkmarx.net/advisory/CX-2020-4291 x_refsource_MISC