CVE-2022-39273 Default OAuth Authorization Server secret in FlyteAdmin
Attackers can impersonate Flyte Propeller and gain unauthorized access if administrators enable internal auth without overriding the default hardcoded client secret.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-39273?
CVE-2022-39273 is a medium-severity vulnerability in flyteorg flyteadmin, published on 6 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
FlyteAdmin is the control plane for the data processing platform Flyte. 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. This issue has been addressed in version 1.1.44. 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.
Weakness: CWE-798
Which versions are affected by CVE-2022-39273?
3 open source packages ship an affected version, including github.com/flyteorg/flyteadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/flyteorg/flyteadmin Go | All versions | 1.1.44 |
github.com/flyteorg/flyteadmin Go | All versions | 1.1.44 |
github.com/flyteorg/flyteadmin Go | From 1.0.0 | 1.1.44 |
Products include Flyte Flyteadmin.
How do I fix CVE-2022-39273?
Upgrade github.com/flyteorg/flyteadmin to 1.1.44 or later.
Is CVE-2022-39273 being exploited?
There is no known exploitation of CVE-2022-39273 in the wild and no public exploit code.
Other vulnerabilities in flyteorg flyteadmin
Sources
Also known as GHSA-67x4-qr35-qvrm, GO-2022-1043.