CVE-2024-29033

GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace

Published Mar 20, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
OAuthenticator provides plugins for JupyterHub to use common OAuth providers, as well as base classes for writing one's own Authenticators with any OAuth 2.0 provider. `GoogleOAuthenticator.hosted_domain` is used to restrict what Google accounts can be authorized access to a JupyterHub. The restriction is intented to be to Google accounts part of one or more Google organization verified to control specified domain(s). Prior to version 16.3.0, the actual restriction has been to Google accounts with emails ending with the domain. Such accounts could have been created by anyone which at one time was able to read an email associated with the domain. This was described by Dylan Ayrey (@dxa4481) in this [blog post] from 15th December 2023). OAuthenticator 16.3.0 contains a patch for this issue. As a workaround, restrict who can login another way, such as `allowed_users` or `allowed_google_groups`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0822 OAuthenticator provides plugins for JupyterHub to use common OAuth providers, as well as base classes for writing one's own Authenticators with any OAuth 2.0 provider. `GoogleOAuthenticator.hosted_domain` is used to restrict what Google accounts can be authorized access to a JupyterHub. The restriction is intented to be to Google accounts part of one or more Google organization verified to control specified domain(s). Prior to version 16.3.0, the actual restriction has been to Google accounts with emails ending with the domain. Such accounts could have been created by anyone which at one time was able to read an email associated with the domain. This was described by Dylan Ayrey (@dxa4481) in this [blog post] from 15th December 2023). OAuthenticator 16.3.0 contains a patch for this issue. As a workaround, restrict who can login another way, such as `allowed_users` or `allowed_google_groups`.
Github GHSA Github GHSA GHSA-55m3-44xf-hg4h GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace
History
Type Values Removed Values Added
First Time appeared Jupyter
Jupyter oauthenticator
CPEs cpe:2.3:a:jupyter:oauthenticator:*:*:*:*:*:*:*:*
Vendors & Products Jupyter
Jupyter oauthenticator
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 1:03 AM
Reserved
Mar 14, 2024, 4:59 PM
Status
Analyzed
Published
Mar 20, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:22 AM