Vulnerabilities in pkg:golang/github.com/flyteorg/flyteadmin
PACKAGECVE-2022-39273 is a HIGH (CVSS 7.5) flyteadmin's default oauth authorization server vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Github.com/flyteorg/flyteadmin libraries in the Go ecosystem. The issue involves flyteadmin's default oauth authorization server secret must be rotated. Remediation is available by upgrading affected packages to version 1.1.44.
pkg:golang/github.com/flyteorg/flyteadmin
Vulnerability advisories affecting package pkg:golang/github.com/flyteorg/flyteadmin. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-67x4-qr35-qvrm | CVE-2022-39273 | HIGH | FlyteAdmin's Default OAuth Authorization Server secret must be rotated |
| GHSA-r847-6w6h-r8g4 | CVE-2023-41891 | LOW | Flyte Admin SQL Injection in List Filters |
| GHSA-qwrj-9hmp-gpxh | CVE-2022-31145 | MODERATE | FlyteAdmin Insufficient AccessToken Expiration Check |
CVE-2022-39273 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-39273
To remediate this vulnerability, upgrade all affected Github.com/flyteorg/flyteadmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/flyteorg/flyteadmin to 1.1.44
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/flyteorg/flyteadmin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-39273, inspect your project dependencies for Github.com/flyteorg/flyteadmin:
inspect dependencies for github.com/flyteorg/flyteadmin
Analyze the terminal output to locate any version of Github.com/flyteorg/flyteadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.44), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In Github.com/flyteorg/flyteadmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-39273 Affected Github.com/flyteorg/flyteadmin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/flyteorg/flyteadmin
|
Go |
< 1.1.44
|
1.1.44
|
References
Frequently Asked Questions
What is CVE-2022-39273?
Which Github.com/flyteorg/flyteadmin versions are affected?
What version fixes CVE-2022-39273?
Is github.com/flyteorg/flyteadmin affected?
What is the CVSS score of CVE-2022-39273?
What CWE is associated with CVE-2022-39273?
How can I check Go dependencies for CVE-2022-39273?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-67x4-qr35-qvrm",
"modified" : "2024-05-20T21:35:54Z",
"published" : "2022-10-05T21:26:26Z",
"aliases" : [ "CVE-2022-39273" ],
"summary" : "FlyteAdmin's Default OAuth Authorization Server secret must be rotated",
"details" : "### Impact\nUsers who enable the default [Flyte’s authorization server](https://docs.flyte.org/en/latest/deployment/cluster_config/auth_setup.html#oauth2-authorization-server) without changing the default clientid hashes will be exposed to the public internet.\n\nIn 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.\n\n### Patches\n1.1.44\n\n### Workarounds\nUsers should manually set the staticClients in the selfAuthServer section of their configuration if they intend to rely on Admin’s internal auth server. \n\n### References\nhttps://github.com/flyteorg/flyteadmin/pull/478\nhttps://docs.flyte.org/en/latest/deployment/cluster_config/auth_setup.html#oauth2-authorization-server \n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Flyte](https://github.com/flyteorg/flyte/issues)\n* Email us [here](mailto:admin@flyte.org)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/flyteorg/flyteadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.44"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/flyteorg/flyteadmin/security/advisories/GHSA-67x4-qr35-qvrm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39273"
}, {
"type" : "WEB",
"url" : "https://github.com/flyteorg/flyteadmin/pull/478"
}, {
"type" : "WEB",
"url" : "https://github.com/flyteorg/flyteadmin/commit/281172edf55fe6800959238fc128964ead6d9101"
}, {
"type" : "WEB",
"url" : "https://docs.flyte.org/en/latest/deployment/cluster_config/auth_setup.html#oauth2-authorization-server"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/flyteorg/flyteadmin"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-1043"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-798" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-05T21:26:26Z",
"nvd_published_at" : "2022-10-06T18:16:00Z"
}
}