CVE-2024-47534 Incorrect delegation lookups can make go-tuf download the wrong artifact
Incorrect delegation tracing in the go-tuf client allows attackers to serve malicious artifacts, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47534?
CVE-2024-47534 is a high-severity vulnerability in theupdateframework go-tuf, published on 1 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-362
Which versions are affected by CVE-2024-47534?
3 open source packages ship an affected version, including github.com/theupdateframework/go-tuf/v2.
| Package | Affected | Fixed in |
|---|---|---|
github.com/theupdateframework/go-tuf/v2 Go | All versions | 2.0.1 |
github.com/theupdateframework/go-tuf/v2 Go | All versions | 2.0.1 |
github.com/theupdateframework/go-tuf/v2 Go | All versions | 2.0.1 |
How do I fix CVE-2024-47534?
Upgrade github.com/theupdateframework/go-tuf/v2 to 2.0.1 or later.
Is CVE-2024-47534 being exploited?
There is no known exploitation of CVE-2024-47534 in the wild and no public exploit code.
Sources
Also known as GHSA-4f8r-qqr9-fq8j, GO-2024-3166, MINI-22j8-q473-gp5r, MINI-26v7-crr5-3m3w, MINI-28cp-7jx5-h4pq, MINI-2cfr-m63r-xvxq and 64 more.