Skip to content

FlyteAdmin's Default OAuth Authorization Server secret must be rotated

High severity GitHub Reviewed Published Oct 4, 2022 in flyteorg/flyteadmin • Updated May 20, 2024

Package

gomod github.com/flyteorg/flyteadmin (Go)

Affected versions

< 1.1.44

Patched versions

1.1.44

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

flyteorg/flyteadmin#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:

References

@EngHabu EngHabu published to flyteorg/flyteadmin Oct 4, 2022
Published to the GitHub Advisory Database Oct 5, 2022
Reviewed Oct 5, 2022
Published by the National Vulnerability Database Oct 6, 2022
Last updated May 20, 2024

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS score

0.095%
(42nd percentile)

Weaknesses

CVE ID

CVE-2022-39273

GHSA ID

GHSA-67x4-qr35-qvrm

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.