Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-55m3-44xf-hg4h

Опубликовано: 20 мар. 2024
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

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.

Пакеты

Наименование

oauthenticator

pip
Затронутые версииВерсия исправления

< 16.3.0

16.3.0

EPSS

Процентиль: 51%
0.00276
Низкий

7.5 High

CVSS3

Дефекты

CWE-285

Связанные уязвимости

CVSS3: 7.5
nvd
почти 2 года назад

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

EPSS

Процентиль: 51%
0.00276
Низкий

7.5 High

CVSS3

Дефекты

CWE-285