# CVE-2022-31145: GO-2022-0519 - Improper validation of access tokens in github.com/flyteorg/flyteadmin

Source: https://junglewise.ai/threats/cve-2022-31145-flyteadmin-insufficient-accesstoken-expiration-check  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-30  
License: CC BY 4.0 with a link back

CVE-2022-31145 · Severity: low · CVSS 3.1 · Published 2022-07-30

Improper validation of access tokens in github.com/flyteorg/flyteadmin

Technologies: [github.com/flyteorg/flyteadmin (Go)](https://junglewise.ai/threats/technologies/github-com-flyteorg-flyteadmin). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-31145 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-31145 being exploited in the wild.

**How severe is CVE-2022-31145?** Low severity, with a CVSS score of 3.1, published 30 July 2022.

**Which products and versions are affected?** github.com/flyteorg/flyteadmin (Go) SEMVER:introduced=0,fixed=1.1.31.

**Is there a fix for CVE-2022-31145?** Yes. github.com/flyteorg/flyteadmin (Go): upgrade to 1.1.31 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-31145?** Check whether you run github.com/flyteorg/flyteadmin (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/flyteorg/flyteadmin (Go): upgrade to 1.1.31 or later

  ```sh
  go get github.com/flyteorg/flyteadmin@v1.1.31
  ```


## Affected products

- github.com/flyteorg/flyteadmin (Go) SEMVER:introduced=0,fixed=1.1.31

## Identifiers

- CVE-2022-31145
- GHSA-qwrj-9hmp-gpxh
- GO-2022-0519

## Related threats

- [GO-2023-2162 - SQL Injection in List Endpoints in github.com/flyteorg/flyteadmin](https://junglewise.ai/threats/cve-2023-41891-flyte-admin-sql-injection-in-list-filters)
- [GO-2022-1043 - Hardcoded hashed password in github.com/flyteorg/flyteadmin](https://junglewise.ai/threats/cve-2022-39273-flyteadmin-s-default-oauth-authorization-server-secret-must-be)
