{"id":"CVE-2024-37300","aliases":["CVE-2024-37300","GHSA-gprj-3p75-f996","PYSEC-2026-1711"],"related":[],"kind":"vulnerability","state":"published","title":"Globus `identity_provider` restriction ignored when used with `allow_all` in JupyterHub 5.0","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nJupyterHub < 5.0, when used with `GlobusOAuthenticator`, could be configured to allow all users from a particular institution only. The configuration for this would look like:\n\n```python\n# Require users to be using the \"foo.horse\" identity provider, often an institution or university\nc.GlobusAuthenticator.identity_provider = \"foo.horse\"\n# Allow everyone who has that identity provider to log in\nc.GlobusAuthenticator.allow_all = True\n```\n\nThis worked fine prior to JupyterHub 5.0, because `allow_all` *did not* take precedence over `identity_provider`.\n\nSince 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.\n\nThis is a [documented change](https://jupyterhub.readthedocs.io/en/stable/howto/upgrading-v5.html#authenticator-allow-all-and-allow-existing-users) in JupyterHub 5.0,\nbut is likely to catch many users by surprise.\n\n### Patches\n\nOAuthenticator 16.3.1 fixes the issue with JupyterHub 5.0, and does not affect previous versions.\n\n### Workarounds\n\nDo not upgrade to JupyterHub 5.0 when using `GlobusOAuthenticator` in the prior configuration.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OAuthenticator es un software que permite conectar y utilizar proveedores de identidad OAuth2 con JupyterHub. JupyterHub &lt; 5.0, cuando se usa con `GlobusOAuthenticator`, se puede configurar para permitir solo a todos los usuarios de una institución en particular. Esto funcionó bien antes de JupyterHub 5.0, porque \"allow_all\" no tenía prioridad sobre \"identity_provider\". Desde JupyterHub 5.0, \"allow_all\" tiene prioridad sobre \"identity_provider\". En un centro con la misma configuración, ahora todos los usuarios podrán iniciar sesión, independientemente del `identity_provider`. Básicamente, `identity_provider` será ignorado. Este es un cambio documentado en JupyterHub 5.0, pero es probable que tome por sorpresa a muchos usuarios. OAuthenticator 16.3.1 soluciona el problema con JupyterHub 5.0 y no afecta a las versiones anteriores. Como workaround, no actualice a JupyterHub 5.0 cuando utilice `GlobusOAuthenticator` en la configuración anterior.","source":"nvd"}],"published":"2024-06-12T15:20:20.363Z","modified":"2026-09-10T03:50:15.608Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 16.3.1","status":"affected"}],"vendor":"jupyterhub","product":"oauthenticator","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"16.3.1"}],"ecosystem":"PyPI","package":"oauthenticator","purl":"pkg:pypi/oauthenticator","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"16.3.1"}],"ecosystem":"PyPI","package":"oauthenticator","purl":"pkg:pypi/oauthenticator","source":"pysec"}],"references":[{"url":"https://github.com/jupyterhub/oauthenticator/security/advisories/GHSA-gprj-3p75-f996","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyterhub/oauthenticator/commit/d1aea05fa89f2beae15ab0fa0b0d071030f79654","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://jupyterhub.readthedocs.io/en/stable/howto/upgrading-v5.html#authenticator-allow-all-and-allow-existing-users","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37300","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/jupyterhub/oauthenticator","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/oauthenticator","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-gprj-3p75-f996","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-12T18:00:57.680Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-37300","url":"https://www.cve.org/CVERecord?id=CVE-2024-37300","licence":"CVE Terms of Use","modified":"2024-08-02T03:50:55.855Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gprj-3p75-f996","url":"https://github.com/advisories/GHSA-gprj-3p75-f996","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.608Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-37300","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37300","licence":"Public domain","modified":"2026-06-17T07:38:05.953Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1711","url":"https://osv.dev/vulnerability/PYSEC-2026-1711","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:29.847Z"}],"updatedAt":"2026-11-25T22:58:41.752Z","epss":{"score":0.00405,"percentile":0.36852,"date":"2026-12-01T12:00:22.000Z"}}