CVE-2021-41194CWE-284

Improper Access Control in jupyterhub-firstuseauthenticator

Critical · published October 28, 2021

CVSS v3.1
9.1
EPSS
1%
Percentile
71.6
In the wild
Unconfirmed
What it is

🚨 A known username is all an attacker needs to slip into someone else's account! This vulnerability in JupyterHub's FirstUseAuthenticator before version 1.0.0 can spell disaster for new users. 🔥 Think of it like a guest list at a party where anyone can waltz in just by guessing the name on the invitation. If they know a username, they could essentially crash the party, enjoying all the privileges of an invited guest! An unauthorized user could log into any account, access sensitive information, and make unauthorized changes. This could lead to a catastrophic breach of user privacy, with potentially serious ramifications for individuals and the organization. It's a security nightmare just waiting to unfold!

Put simply

Think of it like a guest list at a party where anyone can waltz in just by guessing the name on the invitation. If they know a username, they could essentially crash the party, enjoying all the privileges of an invited guest! The flaw arises when the FirstUseAuthenticator is enabled with `create_users=True`, allowing anyone who guesses a username to access that account without proper authorization. This vulnerability affects any version prior to 1.0.0.

What to do

An unauthorized user could log into any account, access sensitive information, and make unauthorized changes. This could lead to a catastrophic breach of user privacy, with potentially serious ramifications for individuals and the organization. It's a security nightmare just waiting to unfold! Upgrade to FirstUseAuthenticator version 1.0.0 immediately to close this glaring hole. If an upgrade isn’t feasible, disable user creation by setting `c.FirstUseAuthenticator.create_users = False` to limit login access to already normalized usernames. If your users haven't logged in with their normalized usernames, they're still at risk! You've got this! Take these steps and help keep your JupyterHub secure! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01367 · 71.6th percentile
Weakness
CWE-284 · Improper Access Control
Published
2021-10-28T19:40Z
EPSS history
Timeline
  • 28 OCT 19:40Z
    Improper Access Control in jupyterhub-firstuseauthenticator
    cvelistv5