Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/flyteorg/flyteadmin: CVE-2022-31145 #519

Closed
GoVulnBot opened this issue Jul 13, 2022 · 2 comments
Assignees

Comments

@GoVulnBot
Copy link

CVE-2022-31145 references github.com/flyteorg/flyteadmin, which may be a Go module.

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.

Links:

See doc/triage.md for instructions on how to triage this report.

packages:
  - module: github.com/flyteorg/flyteadmin
    package: flyteadmin
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.
cves:
  - CVE-2022-31145
links:
    pr: https://github.com/flyteorg/flyteadmin/pull/455
    commit: https://github.com/flyteorg/flyteadmin/commit/a1ec282d02706e074bc4986fd0412e5da3b9d00a
    context:
      - https://github.com/flyteorg/flyteadmin/security/advisories/GHSA-qwrj-9hmp-gpxh

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/419856 mentions this issue: x/vulndb: add reports/GO-2022-0519.yaml for CVE-2022-31145

@neild
Copy link
Contributor

neild commented Jul 27, 2022

The fix is in an importable package, but I'm not certain that it's intended to be used as an externally-visible API. However there are a few imports known to pkg.go.dev, so may as well have a report for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants