PYSEC-2021-384

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/jupyterhub-firstuseauthenticator/PYSEC-2021-384.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2021-384
Aliases
Published
2021-10-28T20:15:00Z
Modified
2023-11-08T04:06:54.528947Z
Summary
[none]
Details

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.

References

Affected packages

PyPI / jupyterhub-firstuseauthenticator

Package

Name
jupyterhub-firstuseauthenticator
View open source insights on deps.dev
Purl
pkg:pypi/jupyterhub-firstuseauthenticator

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0

Affected versions

0.*

0.9
0.10
0.11
0.12
0.13.0
0.14.0
0.14.1