Description (CNA)
JupyterHub through 6.0.1 contains an identifier collision vulnerability that allows authenticated users to overwrite another user's named-server OAuth client by registering a hyphenated username. Attackers holding a name like alice-prod can overwrite the client for alice's server prod, breaking OAuth login and revoking tokens by stopping their own server.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| jupyterhub / jupyterhub | affected 0 through 6.0.1 |
CWE
CWE-694
References
- https://hackmd.io/@haind/jupyterhub-oauth-client-id-cross-user-collision
- https://github.com/jupyterhub/jupyterhub/blob/3e516c6f382b481e815ec455befb2f14d80d337b/jupyterhub/user.py#L563-L567
- https://github.com/jupyterhub/jupyterhub/blob/3e516c6f382b481e815ec455befb2f14d80d337b/jupyterhub/oauth/provider.py#L719-L754
- https://github.com/jupyterhub/jupyterhub/blob/3e516c6f382b481e815ec455befb2f14d80d337b/jupyterhub/user.py#L1174-L1186
- https://github.com/jupyterhub/jupyterhub
- https://www.vulncheck.com/advisories/jupyterhub-through-6.0.1-oauth-client-id-collision-via-unescaped-hyphen
ADP enrichment
No English description supplied.
No references supplied.