github.com/theupdateframework/go-tuf
Affected
- introduced
0, fixed0.3.0(semver)
Fixed versions
0.3.0
Fix
- Fixed version
0.3.0go get github.com/theupdateframework/[email protected]
Advisory
Also known as: CVE-2022-29173, GO-2022-0444
Improper Validation of Integrity Check Value in go-tuf
Impact
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:
Patches
A fix is available in version 0.3.0 or newer.
Workarounds
No workarounds are known for this issue apart from upgrading.
References
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0, fixed 0.3.0 (semver)0.3.0
0.3.0go get github.com/theupdateframework/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0