JupyterHub has a privilege escalation vulnerability with the `admin:users` scope
Description
JupyterHub is software that allows one to create a multi-user server for Jupyter notebooks. Prior to versions 4.1.6 and 5.1.0, if a user is granted the admin:users scope, they may escalate their own privileges by making themselves a full admin user. The impact is relatively small in that admin:users is already an extremely privileged scope only granted to trusted users. In effect, admin:users is equivalent to admin=True, which is not intended. Note that the change here only prevents escalation to the built-in JupyterHub admin role that has unrestricted permissions. It does not prevent users with e.g. groups permissions from granting themselves or other users permissions via group membership, which is intentional. Versions 4.1.6 and 5.1.0 fix this issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jupyterhubPyPI | < 4.1.6 | 4.1.6 |
jupyterhubPyPI | >= 5.0.0, < 5.1.0 | 5.1.0 |
Affected products
23- osv-coords22 versionspkg:apk/chainguard/py3.10-jupyterhubpkg:apk/chainguard/py3.10-jupyterhub-binpkg:apk/chainguard/py3.11-jupyterhubpkg:apk/chainguard/py3.11-jupyterhub-binpkg:apk/chainguard/py3.12-jupyterhubpkg:apk/chainguard/py3.12-jupyterhub-binpkg:apk/chainguard/py3.13-jupyterhubpkg:apk/chainguard/py3.13-jupyterhub-binpkg:apk/chainguard/py3-jupyterhubpkg:apk/chainguard/py3-supported-jupyterhubpkg:apk/wolfi/py3.10-jupyterhubpkg:apk/wolfi/py3.10-jupyterhub-binpkg:apk/wolfi/py3.11-jupyterhubpkg:apk/wolfi/py3.11-jupyterhub-binpkg:apk/wolfi/py3.12-jupyterhubpkg:apk/wolfi/py3.12-jupyterhub-binpkg:apk/wolfi/py3.13-jupyterhubpkg:apk/wolfi/py3.13-jupyterhub-binpkg:apk/wolfi/py3-jupyterhubpkg:apk/wolfi/py3-supported-jupyterhubpkg:bitnami/jupyterhubpkg:pypi/jupyterhub
< 5.1.0-r0+ 21 more
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 5.1.0-r0
- (no CPE)range: < 4.1.6
- (no CPE)range: < 4.1.6
- Range: < 4.1.6
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-9x4q-3gxw-849fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-41942ghsaADVISORY
- github.com/jupyterhub/jupyterhub/commit/99e2720b0fc626cbeeca3c6337f917fdacfaa428ghsax_refsource_MISCWEB
- github.com/jupyterhub/jupyterhub/commit/ff2db557a85b6980f90c3158634bf924063ab8baghsax_refsource_MISCWEB
- github.com/jupyterhub/jupyterhub/security/advisories/GHSA-9x4q-3gxw-849fghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2024-200.yamlghsaWEB
News mentions
0No linked articles in our index yet.