CVE-2022-31145: Insufficient Session Expiration
(updated )
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.
References
- github.com/advisories/GHSA-qwrj-9hmp-gpxh
- github.com/flyteorg/flyteadmin/commit/a1ec282d02706e074bc4986fd0412e5da3b9d00a
- github.com/flyteorg/flyteadmin/pull/455
- github.com/flyteorg/flyteadmin/releases/tag/v1.1.31
- github.com/flyteorg/flyteadmin/security/advisories/GHSA-qwrj-9hmp-gpxh
- nvd.nist.gov/vuln/detail/CVE-2022-31145
- pkg.go.dev/vuln/GO-2022-0519
Detect and mitigate CVE-2022-31145 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →