GHSA-55m3-44xf-hg4h

Suggest an improvement
Source
https://github.com/advisories/GHSA-55m3-44xf-hg4h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-55m3-44xf-hg4h/GHSA-55m3-44xf-hg4h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-55m3-44xf-hg4h
Aliases
Related
Published
2024-03-20T18:02:07Z
Modified
2024-03-20T21:46:35.222962Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace
Details

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

Database specific
{
    "nvd_published_at": "2024-03-20T21:15:31Z",
    "cwe_ids": [
        "CWE-285"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-03-20T18:02:07Z"
}
References

Affected packages

PyPI / oauthenticator

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
16.3.0

Affected versions

0.*

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

14.0.0
14.1.0
14.2.0

15.*

15.0.0
15.0.1
15.1.0

16.*

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