Vulnerability · Published Jul 13, 2022 · Assigned by GitHub_M
CVE-2022-31145Insufficient AccessToken Expiration Check in FlyteAdmin
Medium 6.5
In plain English
A medium-severity security flaw in flyteadmin from flyteorg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
FlyteAdmin is the control plane for Flyte responsible for managing entities and administering workflow executions. In versions 1.1.30 and prior, authenticated users using an external identity provider can continue to use Access Tokens and ID Tokens even after they expire. Users who use FlyteAdmin as the OAuth2 Authorization Server are unaffected by this issue. A patch is available on the `master` branch of the repository. As a workaround, rotating signing keys immediately will invalidate all open sessions and force all users to attempt to obtain new tokens. Those who use this workaround should continue to rotate keys until FlyteAdmin has been upgraded and hide FlyteAdmin deployment ingress URL from the internet.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/flyteorg/flyteadmin | 1.1.31 | GHSA-qwrj-9hmp-gpxh |
| Go | github.com/flyteorg/flyteadmin | 1.1.31 | GO-2022-0519 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| flyteorg | flyteadmin | <= 1.1.30 |
Weakness: CWE-613 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/flyteorg/flyteadmin/security/advisories/GHSA-qwrj-9hmp-gpxh x_refsource_CONFIRM
- https://github.com/flyteorg/flyteadmin/pull/455 x_refsource_MISC
- https://github.com/flyteorg/flyteadmin/commit/a1ec282d02706e074bc4986fd0412e5da3b9d00a x_refsource_MISC