ADVISORIES

GitHub Advisory Database

GHSA-rrvg-cxh4-qhrv

Auth0OAuthenticator has an Authentication Bypass via Unverified Email Claims

Details

Summary

An authentication bypass vulnerability in oauthenticator allows an attacker with an unverified email address on an Auth0 tenant to login to JupyterHub. When email is used as the usrname_claim, this gives users control over their username and the possibility of account takeover.

Impact

This is an Authentication Bypass Vulnerability. Any Auth0 tenant leveraging the Auth0OAuthenticator mapping the email claim to the JupyterHub username is impacted. By default, Auth0 handles email verification as a user flag, not a hard block to authentication streams. If an attacker can register an account with the Auth0 tenant with an unverified email and knows the email of an existing user on the system, they can authenticate as that user.

Patches

  • Upgrade oauthenticator to 17.4

Workarounds

Affected packages

EcosystemPackageAffected versions
PyPIoauthenticator
All versions before 17.4.0 (fixed in 17.4.0)

References