Skip to content

CVE-2021-41194 Improper Access Control in jupyterhub-firstuseauthenticator

CriticalCVSS 9.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

Description

FirstUseAuthenticator is a JupyterHub authenticator that helps new users set their password on their first login to JupyterHub. When JupyterHub is used with FirstUseAuthenticator, a vulnerability in versions prior to 1.0.0 allows unauthorized access to any user's account if create_users=True and the username is known or guessed. One may upgrade to version 1.0.0 or apply a patch manually to mitigate the vulnerability. For those who cannot upgrade, there is no complete workaround, but a partial mitigation exists. One 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.0. If any users have never logged in with their normalized username (i.e. lowercase), they will still be vulnerable until a patch or upgrade occurs.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
jupyterhub first use authenticator < 1.0.0 1.0.0 Fixed
pypi jupyterhub-firstuseauthenticator(PyPI) < 1.0.0; = 0.9; = 0.10; = 0.11 +4 more 1.0.0 Fixed
jupyterhub firstuseauthenticator = < 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi jupyterhub-firstuseauthenticator(PyPI) < 1.0.0 1.0.0
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.10 No fix listed
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.11 No fix listed
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.12 No fix listed
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.13.0 No fix listed
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.14.0 No fix listed
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.14.1 No fix listed
pypi jupyterhub-firstuseauthenticator(PyPI) = 0.9 No fix listed
jupyterhub first use authenticator < 1.0.0 1.0.0
jupyterhub firstuseauthenticator = < 1.0.0 No fix listed

References