SecurityContext

CVE-2024-37300: JupyterHub - Authentication Bypass

  • Cve: CVE-2024-37300
  • Name: JupyterHub - Authentication Bypass
  • Description: OAuthenticator is software that allows OAuth2 identity providers to be plugged in and used with JupyterHub. JupyterHub < 5.0, when used with `GlobusOAuthenticator`, could be configured to allow all users from a particular institution only. This worked fine prior to JupyterHub 5.0, because `allow_all` did not take precedence over `identity_provider`. Since JupyterHub 5.0, `allow_all` does take precedence over `identity_provider`. On a hub with the same config, now all users will be allowed to login, regardless of `identity_provider`. `identity_provider` will basically be ignored. This is a documented change in JupyterHub 5.0, but is likely to catch many users by surprise. OAuthenticator 16.3.1 fixes the issue with JupyterHub 5.0, and does not affect previous versions. As a workaround, do not upgrade to JupyterHub 5.0 when using `GlobusOAuthenticator` in the prior configuration.
  • Impact: All users can log in regardless of 'identity_provider', potentially leading to unauthorized access to the system.
  • Remediation: Update to OAuthenticator 16.3.1 or later, and avoid upgrading to JupyterHub 5.0 when using this configuration as a workaround.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00405
  • Epss percentile: 0.35249
  • Assignee: [email protected]
  • Published at: 2024-06-12T16:15:12Z
  • Age in days: 895
  • Modified at: 2026-06-17T07:38:05Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-37300
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-863Incorrect Authorization

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/jupyterhub/oauthenticator/commit/d1aea05fa89f2beae15ab0fa0b0d071030f79654
https://github.com/jupyterhub/oauthenticator/security/advisories/GHSA-gprj-3p75-f996
https://jupyterhub.readthedocs.io/en/stable/howto/upgrading-v5.html#authenticator-allow-all-and-allow-existing-users

Products

ProductAffectedPlatform boundSourcesUrl
jupyter:oauthenticator< 16.3.1nocna_alias_text/v1/products/jupyter/oauthenticator

Projects

RepositoryLink kindsIndexedUrl
jupyterhub/oauthenticatorcommit, package, security_advisoryyes/v1/repositories/jupyterhub/oauthenticator

Index

  • Repositories: 2
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts