Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-qwrj-9hmp-gpxh: FlyteAdmin Insufficient AccessToken Expiration Check prior to v1.1.30

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:

ghsa
#git#oauth#auth
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2022-31145

FlyteAdmin Insufficient AccessToken Expiration Check prior to v1.1.30

Moderate severity GitHub Reviewed Published Jul 15, 2022 in flyteorg/flyteadmin • Updated Jul 15, 2022

Package

gomod github.com/flyteorg/flyteadmin (Go)

Affected versions

< 1.1.30

Description

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

flyteorg/flyteadmin#455

For more information

If you have any questions or comments about this advisory:

  • Open an issue in flyte repo
  • Email us at flyte

References

  • GHSA-qwrj-9hmp-gpxh
  • https://nvd.nist.gov/vuln/detail/CVE-2022-31145
  • flyteorg/flyteadmin#455
  • flyteorg/flyteadmin@a1ec282

Severity

CVSS base metrics

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Weaknesses

GHSA ID

GHSA-qwrj-9hmp-gpxh

Source code

Related news

CVE-2022-31145: Fix verification logic by EngHabu · Pull Request #455 · flyteorg/flyteadmin

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.