GitHub Advisory Database
GHSA-3vff-hjqv-m7h8
JupyterHub has an Open Redirect Vulnerability
Details
Affected Version
JupyterHub <= 5.4.3
Impact
An open redirect vulnerability in JupyterHub <=5.4.3 allows attackers to construct links which, when clicked, take users to the JupyterHub login page, after which they are sent to an arbitrary attacker-controlled site outside JupyterHub instead of a JupyterHub page, bypassing JupyterHub's check to prevent this.
Patches
Upgrade to JupyterHub 5.4.4
Workarounds
A deployment can apply filters on the Location header in a reverse proxy such as nginx/apache/traefik.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | jupyterhub | All versions before 5.4.4 (fixed in 5.4.4) |