CVE-2024-29033 GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| jupyter oauthenticator | < 16.3.0 | 16.3.0 | Fixed |
| pypi oauthenticator(PyPI) | < 16.3.0; = 0.1.0; = 0.2.0; = 0.3.0 +40 more | 16.3.0 | Fixed |
| jupyterhub oauthenticator | = < 16.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi oauthenticator(PyPI) | < 16.3.0 | 16.3.0 |
| pypi oauthenticator(PyPI) | = 0.1.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.10.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.11.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.12.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.12.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.12.2 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.12.3 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.13.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.2.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.3.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.4.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.4.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.5.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.5.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.6.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.6.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.6.2 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.7.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.7.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.7.2 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.7.3 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.8.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.8.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 0.8.2 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi oauthenticator(PyPI) | = 0.9.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 14.0.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 14.1.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 14.2.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 15.0.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 15.0.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 15.1.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.2 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.3 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.4 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.5 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.6 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.0.7 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.1.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.1.1 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.2.0 | No fix listed |
| pypi oauthenticator(PyPI) | = 16.2.1 | No fix listed |
| jupyterhub oauthenticator | = < 16.3.0 | No fix listed |
| jupyter oauthenticator | < 16.3.0 | 16.3.0 |
References
- https://github.com/jupyterhub/oauthenticator/security/advisories/GHSA-55m3-44xf-hg4h vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/jupyterhub/oauthenticator/commit/5246b09675501b09fb6ed64022099b7644812f60 patch
- github.com product
- https://trufflesecurity.com/blog/google-oauth-is-broken-sort-of press-media-coverage technical-description third-party-advisory
- pypi.org product
- github.com vendor-advisory