GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
oauthenticatorPyPI | < 16.3.0 | 16.3.0 |
Affected products
14- osv-coords13 versionspkg:apk/chainguard/py3.10-oauthenticatorpkg:apk/chainguard/py3.11-oauthenticatorpkg:apk/chainguard/py3.12-oauthenticatorpkg:apk/chainguard/py3.13-oauthenticatorpkg:apk/chainguard/py3-oauthenticatorpkg:apk/chainguard/py3-supported-oauthenticatorpkg:apk/wolfi/py3.10-oauthenticatorpkg:apk/wolfi/py3.11-oauthenticatorpkg:apk/wolfi/py3.12-oauthenticatorpkg:apk/wolfi/py3.13-oauthenticatorpkg:apk/wolfi/py3-oauthenticatorpkg:apk/wolfi/py3-supported-oauthenticatorpkg:pypi/oauthenticator
< 16.3.0-r0+ 12 more
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0-r0
- (no CPE)range: < 16.3.0
- Range: < 16.3.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-55m3-44xf-hg4hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-29033ghsaADVISORY
- github.com/jupyterhub/oauthenticator/commit/5246b09675501b09fb6ed64022099b7644812f60ghsax_refsource_MISCWEB
- github.com/jupyterhub/oauthenticator/security/advisories/GHSA-55m3-44xf-hg4hghsax_refsource_CONFIRMWEB
- trufflesecurity.com/blog/google-oauth-is-broken-sort-ofghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.