Lucene search

K
osvGoogleOSV:GHSA-5XVC-VGMP-JGC3
HistoryOct 28, 2021 - 11:13 p.m.

Improper Access Control in jupyterhub-firstuseauthenticator

2021-10-2823:13:57
Google
osv.dev
19
jupyterhub
firstuseauthenticator
unauthorized access

EPSS

0.002

Percentile

60.4%

Impact

When JupyterHub is used with FirstUseAuthenticator, the vulnerability allows unauthorized access to any user’s account if create_users=True and the username is known or guessed.

Patches

Upgrade to jupyterhub-firstuseauthenticator to 1.0, or apply patch https://github.com/jupyterhub/firstuseauthenticator/pull/38.patch

Workarounds

If you cannot upgrade, there is no complete workaround, but it can be mitigated.

If you cannot upgrade yet, you can disable user creation with c.FirstUseAuthenticator.create_users = False, which will only allow login with fully normalized usernames for already existing users prior to jupyterhub-firstuserauthenticator 1.0. If any users have never logged in with their normalized username (i.e. lowercase), they will still be vulnerable until you can patch or upgrade.

EPSS

0.002

Percentile

60.4%

Related for OSV:GHSA-5XVC-VGMP-JGC3