6.5medium
Insufficient AccessToken Expiration Check in FlyteAdmin
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.06% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qwrj-9hmp-gpxhGO-2022-0519
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
| Product or package | Versions | Reported by |
|---|---|---|
| flyteorg flyteadmin | <= 1.1.30 | CVE List |
| github.com/flyteorg/flyteadmin (Go) | before 1.1.31 | GitHub Advisory Database, Go Vulnerability Database |
| flyte flyteadmin | before 1.1.31 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Authenticated users using an external identity provider can continue to use Access Tokens and ID Tokens even after they expire. Using flyteadmin as the OAuth2 Authorization Server is unaffected by this issue.
Patches
1.1.30
Workarounds
Rotating signing keys immediately will:
- Invalidate all open sessions,
- Force all users to attempt to obtain new tokens.
Continue to rotate keys until flyteadmin has been upgraded,
Hide flyteadmin deployment ingress url from the internet.
References
https://github.com/flyteorg/flyteadmin/pull/455
For more information
If you have any questions or comments about this advisory:
- Open an issue in flyte repo
- Email us at flyte
Go Vulnerability Database
Improper validation of access tokens can permit use of expired tokens.
NVD (es)
FlyteAdmin es el plano de control de Flyte responsable de la administración de entidades y de la administración de las ejecuciones del flujo de trabajo. En versiones 1.1.30 y anteriores, los usuarios autenticados usando un proveedor de identidad externo pueden seguir usando los tokens de acceso y los tokens de identificación incluso después de que expiren. Los usuarios que usan FlyteAdmin como servidor de autorización OAuth2 no están afectados por este problema. Se presenta un parche disponible en la rama "master" del repositorio. Como mitigación, rotar las claves de firma inmediatamente invalidará todas las sesiones abiertas y obligará a todos los usuarios a intentar obtener nuevos tokens. Aquellos que usen esta mitigación deberían continuar rotando las claves hasta que FlyteAdmin haya sido actualizado y ocultar la URL de entrada del despliegue de FlyteAdmin de Internet
References
| https://github.com/flyteorg/flyteadmin/security/advisories/GHSA-qwrj-9hmp-gpxh | third-party-advisory, web | |
| https://github.com/flyteorg/flyteadmin/pull/455 | patch, third-party-advisory, web | |
| https://github.com/flyteorg/flyteadmin/commit/a1ec282d02706e074bc4986fd0412e5da3b9d00a | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31145 | advisory | |
| https://github.com/flyteorg/flyteadmin | package | |
| https://github.com/flyteorg/flyteadmin/releases/tag/v1.1.31 | web | |
| https://pkg.go.dev/vuln/GO-2022-0519 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31145 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qwrj-9hmp-gpxh changed 2023-11-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0519 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2022-31145 changed 2026-06-17 | Public domain |