Medium, CVSS 5.3PyPIAmendedPublished
Hail relies on OIDC email claims to verify the validity of a user's domain.
CVE-2023-51663 · GHSA-487p-qx68-5vjw
- Affected
- PyPI hail < 0.2.127
- Fixed in
- 0.2.127· Vendor fix available
- Issue
- Impact All Hail Batch clusters are affected. An attacker is able to: 1. Create one or more accounts with Hail Batch without corresponding real accounts in the organization. For example, a user could create a Microsoft or Google account and then change their email to "inconspicuous@example.org". This Microsoft or Google account can then be used to create a Hail Batch account in Hail Batch clusters whose organization domain is "example.org". In Google, this attack is partially mitigated because Google requires users to verify ownership of their Google account. However, a valid user is able to create multiple distinct Hail Batch accounts by creating multiple distinct Google accounts using email addresses of the form "realuseremailname+randomid@example.org". In Microsoft, this attack requires Azure AD Administrator access to an Azure AD Tenant. The Azure AD Administrator is permitted to change the email address of an account to any other email address without verification. An attacker…
Recommended action: Upgrade to 0.2.127 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.