Advisory

GHSA-67x4-qr35-qvrm

Also known as: CVE-2022-39273, GO-2022-1043

Summary

FlyteAdmin's Default OAuth Authorization Server secret must be rotated

Details

Impact
Users who enable the default Flyte’s authorization server without changing the default clientid hashes will be exposed to the public internet.

In an effort to make enabling authentication easier for Flyte administrators, the default configuration for Flyte Admin allows access for Flyte Propeller even after turning on authentication via a hardcoded hashed password. This password is also set on the default Flyte Propeller configmap in the various Flyte Helm charts. Users who enable auth but do not override this setting in Flyte Admin’s configuration may unknowingly allow public traffic in by way of this default password with attackers effectively impersonating propeller. This only applies to users who have not specified the ExternalAuthorizationServer setting. Using an external auth server automatically turns off this default configuration is not susceptible to this vulnerability.

Patches
1.1.44

Workarounds
Users should manually set the staticClients in the selfAuthServer section of their configuration if they intend to rely on Admin’s internal auth server.

References
https://github.com/flyteorg/flyteadmin/pull/478
https://docs.flyte.org/en/latest/deployment/cluster_config/auth_setup.html#oauth2-authorization-server

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-05 21:26 UTC
Modified
2024-05-20 21:35 UTC

Affected packages and fixes

github.com/flyteorg/flyteadmin

Go · All systems

Affected

  • introduced 0, fixed 1.1.44 (semver)

Fixed versions

1.1.44

Fix

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences