Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03cjNoLTRwaDgtdzM4Z84AA6at

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:

or, if available (applies to earlier JupyterHub versions):

Permalink: https://github.com/advisories/GHSA-7r3h-4ph8-w38g
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03cjNoLTRwaDgtdzM4Z84AA6at
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 month ago
Updated: about 1 month ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Identifiers: GHSA-7r3h-4ph8-w38g, CVE-2024-28233
References: Repository: https://github.com/jupyterhub/jupyterhub
Blast Radius: 23.5

Affected Packages

pypi:jupyterhub
Dependent packages: 38
Dependent repositories: 799
Downloads: 149,944 last month
Affected Version Ranges: < 4.1.0
Fixed in: 4.1.0
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 3.0.0, 3.1.0, 3.1.1, 4.0.0, 4.0.1, 4.0.2
All unaffected versions: 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5