{"schemaVersion":3,"id":"CVE-2021-41194","aliases":["GHSA-5xvc-vgmp-jgc3","PYSEC-2021-384"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-10-28T19:40:12.000Z","modified":"2024-08-04T03:08:31.328Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01367,"percentile":0.71472,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01367},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01367,"percentile":0.71472}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01367,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01367,"percentile":0.71472}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"jupyterhub","product":"first_use_authenticator","name":"first use authenticator","label":"first_use_authenticator","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":"/vendor/jupyterhub/first_use_authenticator"},{"vendor":"jupyterhub","product":"firstuseauthenticator","name":"firstuseauthenticator","label":"firstuseauthenticator","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":"/vendor/jupyterhub/firstuseauthenticator"},{"vendor":"PyPI","product":"jupyterhub-firstuseauthenticator","name":"jupyterhub-firstuseauthenticator","label":"jupyterhub-firstuseauthenticator","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyterhub-firstuseauthenticator","purlType":"pypi","versions":[{"text":"< 1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyterhub/firstuseauthenticator/security/advisories/GHSA-5xvc-vgmp-jgc3","label":"github.com/jupyterhub/firstuseauthenticator/security/advisories/GHSA-5xvc-vgmp-jgc3","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/pull/38","label":"github.com/jupyterhub/firstuseauthenticator/pull/38","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/pull/38.patch","label":"github.com/jupyterhub/firstuseauthenticator/pull/38.patch","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41194","label":"nvd.nist.gov/vuln/detail/CVE-2021-41194","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/pull/38/commits/32b21898fb2b53b1a2e36270de6854ad70e9e9bf","label":"github.com/jupyterhub/firstuseauthenticator/pull/38/commits/32b21898fb2b53b1a2e36270de6854ad70e9e9bf","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/pull/38/commits/9e200d974e0cb85d828a6afedb8ab90a37878f28","label":"github.com/jupyterhub/firstuseauthenticator/pull/38/commits/9e200d974e0cb85d828a6afedb8ab90a37878f28","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator/commit/953418e2450dbc2d854e332350849533b0ebc7ba","label":"github.com/jupyterhub/firstuseauthenticator/commit/953418e2450dbc2d854e332350849533b0ebc7ba","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/jupyterhub/firstuseauthenticator","label":"github.com/jupyterhub/firstuseauthenticator","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-firstuseauthenticator/PYSEC-2021-384.yaml","label":"github.com/pypa/…","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-10-28T19:40:12.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T03:08:31.328Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:09:45.077Z","stale":false,"partial":false}}