CVE-2024-41942 Affecting py3-jupyterhub package, versions <5.1.0-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-WOLFILATEST-PY3JUPYTERHUB-7671901
- published 9 Aug 2024
- disclosed 8 Aug 2024
Introduced: 8 Aug 2024
CVE-2024-41942 Open this link in a new tabHow to fix?
Upgrade Wolfi
py3-jupyterhub
to version 5.1.0-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream py3-jupyterhub
package and not the py3-jupyterhub
package as distributed by Wolfi
.
See How to fix?
for Wolfi
relevant fixed versions and status.
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.