CVE-2024-41942 JupyterHub has a privilege escalation vulnerability with the `admin:users` scope
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/jupyterhub(Debian 12) | = 3.0.0+ds1-1; = 5.0.0+ds1-1; = 5.0.0+ds1-2; = 5.0.0+ds1-3 +7 more | No fix listed | No fix yet |
| ubuntu/jupyterhub(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/jupyterhub(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/jupyterhub(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/jupyterhub(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/jupyterhub(Debian 13) | < 5.2.1+ds1-1 | 5.2.1+ds1-1 | Fixed |
| debian/jupyterhub(Debian 14) | < 5.2.1+ds1-1 | 5.2.1+ds1-1 | Fixed |
| jupyterhub | < 4.1.6; = 5.0.0; = 5.0.0-beta1; = 5.0.0-beta2 | 4.1.6 | Fixed |
| pypi jupyterhub(PyPI) | < 4.1.6; = 0.1.0; = 0.2.0; = 0.3.0 +79 more | 4.1.6, 5.1.0 | Fixed |
| jupyterhub | = < 4.1.6; = >= 5.0.0, < 5.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi jupyterhub(PyPI) | < 4.1.6 | 4.1.6 |
| pypi jupyterhub(PyPI) | = 0.1.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.2.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.3.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.4.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.4.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.5.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.6.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.6.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.7.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.7.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.7.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.7.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0b2 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0b3 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0b4 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0b5 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0rc1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.0rc2 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.8.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.0b2 | No fix listed |
Show 81 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi jupyterhub(PyPI) | = 0.9.0b3 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.0rc1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.3 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.4 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.5 | No fix listed |
| pypi jupyterhub(PyPI) | = 0.9.6 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.0.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.0.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.0.0b2 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.1.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.1.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.2.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.2.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.2.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.2.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.3.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.4.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.4.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.4.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.5.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 1.5.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0b2 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0b3 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0rc2 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0rc3 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0rc4 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.0rc5 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.0.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.1.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.1.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.2.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.2.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.2.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.3.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 2.3.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 3.0.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 3.0.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 3.1.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 3.1.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.0.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.0.0b1 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.0.0b2 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.0.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.0.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.1.0 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.1.1 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.1.2 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.1.3 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.1.4 | No fix listed |
| pypi jupyterhub(PyPI) | = 4.1.5 | No fix listed |
| pypi jupyterhub(PyPI) | >= 5.0.0, < 5.1.0 | 5.1.0 |
| pypi jupyterhub(PyPI) | = 5.0.0 | No fix listed |
| debian/jupyterhub(Debian:12) | All versions | No fix listed |
| debian/jupyterhub(Debian:12) | = 3.0.0+ds1-1 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.0.0+ds1-1 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.0.0+ds1-2 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.0.0+ds1-3 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.0.0+ds1-4 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.2.1+ds1-1 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.2.1+ds1-2 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.2.1+ds1-3 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.2.1+ds1-4 | No fix listed |
| debian/jupyterhub(Debian:12) | = 5.2.1+ds1-5 | No fix listed |
| debian/jupyterhub(Debian:13) | < 5.2.1+ds1-1 | 5.2.1+ds1-1 |
| debian/jupyterhub(Debian:14) | < 5.2.1+ds1-1 | 5.2.1+ds1-1 |
| ubuntu/jupyterhub(Ubuntu:22.04) | All versions | No fix listed |
| jupyterhub | = < 4.1.6 | No fix listed |
| jupyterhub | = >= 5.0.0, < 5.1.0 | No fix listed |
| ubuntu/jupyterhub(Ubuntu:24.04) | All versions | No fix listed |
| jupyterhub | < 4.1.6 | 4.1.6 |
| jupyterhub | = 5.0.0 | No fix listed |
| jupyterhub | = 5.0.0-beta1 | No fix listed |
| jupyterhub | = 5.0.0-beta2 | No fix listed |
| ubuntu/jupyterhub(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/jupyterhub(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-9x4q-3gxw-849f third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/jupyterhub/jupyterhub/commit/99e2720b0fc626cbeeca3c6337f917fdacfaa428 patch
- https://github.com/jupyterhub/jupyterhub/commit/ff2db557a85b6980f90c3158634bf924063ab8ba patch
- github.com product
- github.com
- github.com
- Debian Security Tracker CVE-2024-41942 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking