CVE-2021-41194
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.
Weakness
- CWE-284: Improper Access Control
Timeline
- 2021-10-28Published by the CNA19:40 UTC
- 2021-10-28GitHub advisory published (GHSA-5xvc-vgmp-jgc3)same day
Exploit and advisory records
GitHub advisory GHSA-5xvc-vgmp-jgc3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI jupyterhub-firstuseauthenticator | before 1.0.0 | 1.0.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| jupyterhub first_use_authenticator | before 1.0.0fixed in 1.0.0 | 1.0.0 |
References
- https://github.com/jupyterhub/firstuseauthenticator/pull/38
- https://github.com/jupyterhub/firstuseauthenticator/pull/38.patch
- https://github.com/jupyterhub/firstuseauthenticator/security/advisories/GHSA-5xvc-vgmp-jgc3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-41194'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-41194'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-41194'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-41194'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).