CVE-2022-39273
Flyteadmin vulnerability
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.
Affected products
Flyteadmin. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Flyteadmin runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.flyte.org/en/latest/deployment/cluster_config/auth_setup.html#oauth2-authorization-se · Vendor Advisory
- github.com/flyteorg/flyteadmin/pull/478 · Patch
- github.com/flyteorg/flyteadmin/security/advisories/GHSA-67x4-qr35-qvrm · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39273
- pkg.go.dev/vuln/GO-2022-1043
- github.com/flyteorg/flyteadmin/commit/281172edf55fe6800959238fc128964ead6d9101
- github.com/advisories/GHSA-67x4-qr35-qvrm
- nvd.nist.gov/vuln/detail/CVE-2022-39273
- cve.org/CVERecord?id=CVE-2022-39273
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.