Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-29173— No protection against rollback attacks in go-tuf

Quick assessment

Affected
theupdateframework go-tuf
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

go-tuf是一个用于保护软件更新系统的框架。 go-tuf 存在安全漏洞,该漏洞源于对 root 以外的角色没有针对回滚攻击的保护。

CVSS 8.0 · High EPSS 0.57% · P46
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-29173

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
No protection against rollback attacks in go-tuf
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
完整性检查值验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
go-tuf 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
go-tuf是一个用于保护软件更新系统的框架。 go-tuf 存在安全漏洞,该漏洞源于对 root 以外的角色没有针对回滚攻击的保护。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
theupdateframework go-tuf < 0.3.0 -

II. Public POCs for CVE-2022-29173

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-29173

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-29173 (1)

Vendor Advisories for CVE-2022-29173 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-29173

No comments yet


Leave a comment