jupyterhub
Affected
- introduced
0, fixed4.1.0(ecosystem)
Fixed versions
4.1.0
Fix
- Fixed version
4.1.0pip install --upgrade jupyterhub==4.1.0
Advisory
Also known as: BIT-jupyterhub-2024-28233, CVE-2024-28233, GHSA-7r3h-4ph8-w38g
Cross site scripting (XSS) in JupyterHub via Self-XSS leveraged by Cookie Tossing
Impact
Affected configurations:
By tricking a user into visiting a malicious subdomain, the attacker can achieve an XSS directly affecting the former's session. More precisely, in the context of JupyterHub, this XSS could achieve the following:
Patches
To prevent cookie-tossing:
c.JupyterHub.subdomain_host = "https://mydomain.example.org"c.JupyterHub.cookie_host_prefix_enabled = True to enable domain-locked cookiesor, if available (applies to earlier JupyterHub versions):
c.JupyterHub.subdomain_host = "https://mydomain.example.org"High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
0, fixed 4.1.0 (ecosystem)4.1.0
4.1.0pip install --upgrade jupyterhub==4.1.0Fix 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