Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS01NW0zLTQ0eGYtaGc0aM4AA6LI
GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace
Summary and impact
GoogleOAuthenticator.hosted_domain
is used to restrict what Google accounts can be authorized to access a JupyterHub. The restriction is intended to ensure Google accounts are part of one or more Google organizations/workspaces verified to control specified domain(s).
The vulnerability is that 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.
Remediation
Upgrade to oauthenticator>=16.3.0
or restrict who can login another way, such as allowed_users
or allowed_google_groups
.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01NW0zLTQ0eGYtaGc0aM4AA6LI
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 9 months ago
Updated: 8 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Identifiers: GHSA-55m3-44xf-hg4h, CVE-2024-29033
References:
- https://github.com/jupyterhub/oauthenticator/security/advisories/GHSA-55m3-44xf-hg4h
- https://github.com/jupyterhub/oauthenticator/commit/5246b09675501b09fb6ed64022099b7644812f60
- https://nvd.nist.gov/vuln/detail/CVE-2024-29033
- https://trufflesecurity.com/blog/google-oauth-is-broken-sort-of
- https://github.com/advisories/GHSA-55m3-44xf-hg4h
Blast Radius: 15.9
Affected Packages
pypi:oauthenticator
Dependent packages: 11Dependent repositories: 132
Downloads: 71,775 last month
Affected Version Ranges: < 16.3.0
Fixed in: 16.3.0
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 14.0.0, 14.1.0, 14.2.0, 15.0.0, 15.0.1, 15.1.0, 16.0.0, 16.0.1, 16.0.2, 16.0.3, 16.0.4, 16.0.5, 16.0.6, 16.0.7, 16.1.0, 16.1.1, 16.2.0, 16.2.1
All unaffected versions: 16.3.0, 16.3.1, 17.0.0, 17.1.0