Advisory

PYSEC-2023-271

Also known as: CVE-2023-51663, GHSA-487p-qx68-5vjw

Summary

The record has no summary.

Details

Hail is an open-source, general-purpose, Python-based data analysis tool with additional data types and methods for working with genomic data. Hail relies on OpenID Connect (OIDC) email addresses from ID tokens to verify the validity of a user's domain, but because users have the ability to change their email address, they could create accounts and use resources in clusters that they should not have access to. For example, a user could create a Microsoft or Google account and then change their email to [email protected]. This account can then be used to create a Hail Batch account in Hail Batch clusters whose organization domain is example.org. The attacker is not able to access private data or impersonate another user, but they would have the ability to run jobs if Hail Batch billing projects are enabled and create Azure Tenants if they have Azure Active Directory Administrator access.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2023-12-29 17:16 UTC
Modified
2024-11-21 14:56 UTC

Affected packages and fixes

hail

PyPI · All systems

Affected

  • introduced 0, fixed 0.2.127 (ecosystem)

Fixed versions

0.2.127

Fix

  • Fixed version 0.2.127
    pip install --upgrade hail==0.2.127

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences