# GO-2022-1004 - Improper handling of keys in github.com/theupdateframework/go-tuf

Source: https://junglewise.ai/threats/go-2022-1004-improper-handling-of-keys-in-github-com-theupdateframework-dae55071  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-21  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-09-21

Improper handling of keys in github.com/theupdateframework/go-tuf

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

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 21 September 2022.

**Which products and versions are affected?** github.com/theupdateframework/go-tuf (Go) SEMVER:introduced=0,fixed=0.3.2.

**Is there a fix for This vulnerability?** Yes. github.com/theupdateframework/go-tuf (Go): upgrade to 0.3.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/theupdateframework/go-tuf (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/theupdateframework/go-tuf (Go): upgrade to 0.3.2 or later

  ```sh
  go get github.com/theupdateframework/go-tuf@v0.3.2
  ```


## Affected products

- github.com/theupdateframework/go-tuf (Go) SEMVER:introduced=0,fixed=0.3.2

## Related threats

- [The Update Framework go-tuf signature threshold bypass via duplicate Key IDs](https://junglewise.ai/threats/the-update-framework-go-tuf-signature-threshold-bypass-via-duplicate-8e445fe3)
- [GO-2022-0444 - Version rollback attack in github.com/theupdateframework/go-tuf](https://junglewise.ai/threats/cve-2022-29173-improper-validation-of-integrity-check-value-in-go-tuf)
