CVE-2022-29173: Version rollback attack in github.com/theupdateframework/go-tuf

Summary

01/07/2022
Yes i
High
8.0

CVE-2022-29173: Version rollback attack in github.com/theupdateframework/go-tuf. Affects github.com/theupdateframework/go-tuf versions < 0.3.0. Fixed in 0.3.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The github.com/theupdateframework/go-tuf package is a Go implementation of The Update Framework (TUF), which is a security framework designed to secure software update systems. It provides a client library that allows users to securely download and install software updates. The vulnerability in this package allows for version rollback attacks, where an attacker can trick the client into installing older software versions than what it previously knew to be available.

Vulnerability Detail

The vulnerability in github.com/theupdateframework/go-tuf allows an attacker to manipulate the client's perception of available software updates, leading to the installation of older and potentially vulnerable software versions. This can be achieved by tampering with the metadata files used by the client to verify the authenticity and integrity of the updates. By exploiting this vulnerability, an attacker can bypass the security measures provided by TUF and potentially gain unauthorized access or execute malicious code on the client's system.

How To Fix

Latest published version: v0.7.0 as of 23 Oct 2026

go get github.com/theupdateframework/go-tuf@v0.7.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.0

This is the first release that contains the fix.

go get github.com/theupdateframework/go-tuf@v0.3.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. Users are advised to update to the fixed version of the package as soon as possible.

Conclusion

The version rollback attack vulnerability in github.com/theupdateframework/go-tuf can have serious security implications, allowing attackers to install older and potentially vulnerable software versions. Users are strongly advised to update to version 0.3.0 or later of the package to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/theupdateframework/go-tuf →

Share this vulnerability

FAQ

The Update Framework (TUF) is a security framework designed to secure software update systems. It provides a set of specifications and libraries that enable secure software distribution and installation.

A version rollback attack is a type of attack where an attacker tricks a client into installing older software versions than what it previously knew to be available. This can be done by tampering with the metadata used by the client to verify the authenticity and integrity of the updates.

The version rollback attack vulnerability in github.com/theupdateframework/go-tuf can allow an attacker to install older and potentially vulnerable software versions on the client's system. This can lead to unauthorized access, data breaches, or the execution of malicious code.

There are no known exploits of this vulnerability at the moment. However, it is important to update to the fixed version of the package to mitigate the risk of potential attacks.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using only the Gopkg.lock file.

References

Related vulnerabilities

Recent vulnerabilities recorded for github.com/theupdateframework/go-tuf.

How To Fix

Latest published version: v0.7.0 as of 23 Oct 2026

go get github.com/theupdateframework/go-tuf@v0.7.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.0

This is the first release that contains the fix.

go get github.com/theupdateframework/go-tuf@v0.3.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback