Vulnerability · Published Oct 1, 2024 · Assigned by GitHub_M
CVE-2024-47534Incorrect delegation lookups can make go-tuf download the wrong artifact
High 8.2
In plain English
A high-severity race condition in go-tuf from theupdateframework. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
go-tuf is a Go implementation of The Update Framework (TUF). The go-tuf client inconsistently traces the delegations. For example, if targets delegate to "A", and to "B", and "B" delegates to "C", then the client should trace the delegations in the order "A" then "B" then "C" but it may incorrectly trace the delegations "B"->"C"->"A". This vulnerability is fixed in 2.0.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/theupdateframework/go-tuf/v2 | 2.0.1 | GHSA-4f8r-qqr9-fq8j |
| Go | github.com/theupdateframework/go-tuf/v2 | 2.0.1 | GO-2024-3166 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| theupdateframework | go-tuf | >= 2.0.0, < 2.0.1 |
Weakness: CWE-362 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-4f8r-qqr9-fq8j x_refsource_CONFIRM
- https://github.com/theupdateframework/tuf-conformance/pull/115 x_refsource_MISC
- https://github.com/theupdateframework/go-tuf/commit/edc30b474f5afd4cc603e17149704d5aa605151d x_refsource_MISC
- https://github.com/theupdateframework/go-tuf/commit/f36420caba9edbfdfd64f95a9554c0836d9cf819 x_refsource_MISC
- https://github.com/theupdateframework/go-tuf/blob/f95222bdd22d2ac4e5b8ed6fe912b645e213c3b5/metadata/metadata.go#L565-L580 x_refsource_MISC