Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Default OAuth Authorization Server secret must be rotated

Moderate
EngHabu published GHSA-67x4-qr35-qvrm Oct 4, 2022

Package

gomod github.com/flyteorg/flyteadmin (Go)

Affected versions

< 1.1.44

Patched versions

None

Description

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 unbeknownst to them be allowing 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. Usage of an external auth server automatically turns off this default configuration and are not susceptible to this vulnerability.

Patches

1.1.44

Workarounds

Yes. Users should manually set the staticClients in the selfAuthServer section of their configuration if they intend to rely on Admin’s internal auth server. Again, users who use an external auth server are automatically protected from this vulnerability.

References

#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

Moderate

CVE ID

CVE-2022-39273

Weaknesses

No CWEs