HighVulnerability
CVE-2024-29033: OAuthenticator Google login restriction bypass via hosted_domain
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-29033
- Published
- Record updated
- Affected
- oauthenticator < 16.3.0
- Fixed in
- 16.3.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2024-29033 affects OAuthenticator, the JupyterHub plugin package for OAuth providers. Before version 16.3.0, GoogleOAuthenticator.hosted_domain only checked that Google account emails ended with the specified domain, not that the account belonged to a verified Google organization controlling that domain. Anyone who had once been able to read an email at the domain could create a matching account and gain access to the JupyterHub, as Dylan Ayrey described in a blog post dated 15 December 2023.
Mitigation
Fixed in OAuthenticator 16.3.0, which contains a patch for this issue. As a workaround, restrict who can log in another way, such as with `allowed_users` or `allowed_google_groups`.