Lucene search

K
githubGitHub Advisory DatabaseGHSA-GPRJ-3P75-F996
HistoryJun 12, 2024 - 5:13 p.m.

Globus `identity_provider` restriction ignored when used with `allow_all` in JupyterHub 5.0

2024-06-1217:13:07
CWE-863
GitHub Advisory Database
github.com
10
globusoauthenticator
jupyterhub 5.0
identity provider
authentication
patch
configuration
upgrade
workaround

CVSS3

8.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

AI Score

6.6

Confidence

High

EPSS

0

Percentile

15.5%

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:

# Require users to be using the "foo.horse" identity provider, often an institution or university
c.GlobusAuthenticator.identity_provider = "foo.horse"
# Allow everyone who has that identity provider to log in
c.GlobusAuthenticator.allow_all = True

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.

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.

Affected configurations

Vulners
Node
jupyteroauthenticatorRange<16.3.1
VendorProductVersionCPE
jupyteroauthenticator*cpe:2.3:a:jupyter:oauthenticator:*:*:*:*:*:*:*:*

CVSS3

8.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

AI Score

6.6

Confidence

High

EPSS

0

Percentile

15.5%

Related for GHSA-GPRJ-3P75-F996