{"id":"CVE-2021-41194","published":"2021-10-28T19:40:12Z","modified":"2024-08-04T03:08:31Z","title":"Improper Access Control in jupyterhub-firstuseauthenticator","vendor":"jupyterhub","product":"firstuseauthenticator","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01367,"percentile":0.72538,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/jupyterhub/firstuseauthenticator/security/advisories/GHSA-5xvc-vgmp-jgc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/pull/38","tags":["x_refsource_MISC"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/pull/38.patch","tags":["x_refsource_MISC"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":14.51},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"jupyterhub","affectedVersions":[{"vendor":"jupyterhub","product":"firstuseauthenticator","versions":["< 1.0.0"]}],"affected":[{"ecosystem":"PyPI","package":"jupyterhub-firstuseauthenticator","vulnerableRanges":["<1.0.0"],"patched":["1.0.0"],"from":["GHSA-5xvc-vgmp-jgc3","PYSEC-2021-384"],"provenance":"source"}],"summary":{"text":"The Improper Access Control flaw lives in the firstuseauthenticator component of JupyterHub, the authenticator that lets new users set a password on their first login, in versions before 1.0.0. An attacker who knows or can guess a username, with user creation enabled (create_users=True), can gain unauthorized access to that user's account over the network without authentication or user interaction; the only partial mitigation without upgrading is setting create_users to False, which still leaves users who have never logged in with their normalized lowercase username exposed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:16Z"},"euvd":{"id":"EUVD-2021-0104","exploited":false,"provenance":"source"}}