CVE-2024-41942 Affecting py3-jupyterhub package, versions <5.1.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

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 IDSNYK-WOLFILATEST-PY3JUPYTERHUB-7671901
  • published9 Aug 2024
  • disclosed8 Aug 2024

Introduced: 8 Aug 2024

CVE-2024-41942  (opens in a new tab)

How 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.

CVSS Scores

version 3.1