cve.bz

CVE-2022-29173 theupdateframework go-tuf

8.8 highEPSS 0.6%Fix available

High (8.8) in theupdateframework go-tuf. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/theupdateframework/go-tuf 0.3.0.

On this page
go-tuf is a Go implementation of The Update Framework (TUF). go-tuf does not correctly implement the client workflow for updating the metadata files for roles other than the root role. Specifically, checks for rollback attacks are not implemented correctly meaning an attacker can cause clients to install software that is older than the software which the client previously knew to be available, and may include software with known vulnerabilities. In more detail, the client code of go-tuf has several issues in regards to preventing rollback attacks: 1. It does not take into account the content of any previously trusted metadata, if available, before proceeding with updating roles other than the root role (i.e., steps 5.4.3.1 and 5.5.5 of the detailed client workflow). This means that any form of version verification done on the newly-downloaded metadata is made using the default value of zero, which always passes. 2. For both timestamp and snapshot roles, go-tuf saves these metadata files as trusted before verifying if the version of the metafiles they refer to is correct (i.e., steps 5.5.4 and 5.6.4 of the detailed client workflow). A fix is available in version 0.3.0 or newer. No workarounds are known for this issue apart from upgrading.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-354 Improper Validation of Integrity Check Value
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-29173 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29173?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29173?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-29173 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
theupdateframework:go-tuf0.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-66x3-6cw3-v5gjGogithub.com/theupdateframework/go-tuf<0.3.00.3.0
GO-2022-0444Gogithub.com/theupdateframework/go-tuf<0.3.00.3.0

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
RHACS-3.71-RHEL-8advanced-cluster-security/rhacs-docs-rhel8:3.71.0-5Fixed 2022-07-25RHSA-2022:5704
RHACS-3.71-RHEL-8advanced-cluster-security/rhacs-main-rhel8:3.71.0-6Fixed 2022-07-25RHSA-2022:5704
RHACS-3.71-RHEL-8advanced-cluster-security/rhacs-rhel8-operator:3.71.0-5Fixed 2022-07-25RHSA-2022:5704
RHACS-3.71-RHEL-8advanced-cluster-security/rhacs-roxctl-rhel8:3.71.0-5Fixed 2022-07-25RHSA-2022:5704
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-docs-rhel8Affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-29173.

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-145 Checksum Spoofing Severity: Medium
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON