Skip to content
OpenAdvisories
High · 7.5 CVE-2024-29033 EUVD-2024-0822GHSA-55m3-44xf-hg4hPYSEC-2026-1710

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

Published Mar 20, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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`.

Affected products

VendorProductAffectedFixed
jupyterhub oauthenticator < 16.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3-oauthenticator 16.3.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI oauthenticator < 16.3.0 16.3.0 GHSA-55m3-44xf-hg4h

References