CVE-2024-41942
Jupyterhub ≤ 4.1.6
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HSummary
CVE-2024-41942 is a high-severity Improper Handling of Insufficient Privileges (CWE-274) vulnerability in Jupyter Jupyterhub. Its CVSS base score is 7.2 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 45th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0080
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 5 hardening rules · 3 OS baselines
—
Mitigating Controls (NIST 800-53 r5) AI
Always-invoked reference monitor guarantees privilege checks occur and cannot be bypassed or mishandled.
Enforces approved authorizations so insufficient privileges produce a proper denial instead of mishandled failure.
Requires every access request to be decided against current authorizations, preventing ad-hoc privilege handling.
Least-privilege assignment reduces the frequency of operations that encounter insufficient privileges.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Enforcing least-privilege access policies directly prevents improper handling of insufficient privileges.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Privileged-access-rights control directly limits the situations in which insufficient privileges can occur.
Information-access-restriction mechanisms enforce least-privilege checks that mitigate the weakness at runtime.
Access control policy defines privilege boundaries but does not guarantee correct runtime handling when privileges prove insufficient.
Access-rights provisioning and review reduce privilege gaps, yet do not address the software’s failure to handle insufficient privileges gracefully.
Restricting privileged utilities reduces exposure but does not address how the application handles privilege shortfalls.
Secure SDLC practices can include privilege checks, yet the control itself does not mandate handling of insufficient privileges.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).
Oracle Linux 9 (2 rules)
- V-271452 OL 9 must use a Linux Security Module configured to enforce limits on system services. prevents CWE-274
- V-271640 OL 9 must be configured so that the Network File System (NFS) is configured to use RPCSEC_GSS. prevents CWE-274
RHEL 9 (1 rule)
- V-258078 RHEL 9 must use a Linux Security Module configured to enforce limits on system services. prevents CWE-274