Globus `identity_provider` restriction ignored when used with `allow_all` in JupyterHub 5.0
High severity
GitHub Reviewed
Published
Jun 11, 2024
in
jupyterhub/oauthenticator
•
Updated Jun 12, 2024
Description
Published by the National Vulnerability Database
Jun 12, 2024
Published to the GitHub Advisory Database
Jun 12, 2024
Reviewed
Jun 12, 2024
Last updated
Jun 12, 2024
Impact
JupyterHub < 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:This worked fine prior to JupyterHub 5.0, because
allow_all
did not take precedence overidentity_provider
.Since JupyterHub 5.0,
allow_all
does take precedence overidentity_provider
. On a hub with the same config, now all users will be allowed to login, regardless ofidentity_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.
Patches
OAuthenticator 16.3.1 fixes the issue with JupyterHub 5.0, and does not affect previous versions.
Workarounds
Do not upgrade to JupyterHub 5.0 when using
GlobusOAuthenticator
in the prior configuration.References