Skip to content
Heist/ feed
Back to feed
High

Incorrect delegation lookups can make go-tuf download the wrong artifact

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-47534
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:36 UTC · Revision 1

Source evidence

Incorrect delegation lookups can make go-tuf download the wrong artifact

core-osv · Original source

Published 1 Oct 2024, 15:17 UTC

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.

osv:CVE-2024-47534
Complete source record
{
  "id": "4acbe8a3dcd7eb4ee37fb6b21eaaf72e7568170f119798f65fde26dd784fa0d2",
  "url": "https://osv.dev/vulnerability/CVE-2024-47534",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Incorrect delegation lookups can make go-tuf download the wrong artifact",
    "summary": "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.",
    "evidence": "osv:CVE-2024-47534",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-47534",
      "aliases": [
        "CVE-2024-47534",
        "GHSA-4f8r-qqr9-fq8j",
        "GO-2024-3166"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/theupdateframework/go-tuf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ecec5d3a09cfa74482f0797fa38b65a2942a655c"
                },
                {
                  "fixed": "6c47391ef3da3eac29e7b019da00e072303bd748"
                },
                {
                  "fixed": "edc30b474f5afd4cc603e17149704d5aa605151d"
                },
                {
                  "fixed": "f36420caba9edbfdfd64f95a9554c0836d9cf819"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.0.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "edc30b474f5afd4cc603e17149704d5aa605151d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f36420caba9edbfdfd64f95a9554c0836d9cf819"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47534.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.410472055Z",
      "provider": "osv",
      "references": [
        "https://github.com/theupdateframework/go-tuf/blob/f95222bdd22d2ac4e5b8ed6fe912b645e213c3b5/metadata/metadata.go#L565-L580",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47534.json",
        "https://github.com/theupdateframework/go-tuf/security/advisories/GHSA-4f8r-qqr9-fq8j",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47534",
        "https://github.com/theupdateframework/go-tuf/commit/edc30b474f5afd4cc603e17149704d5aa605151d",
        "https://github.com/theupdateframework/go-tuf/commit/f36420caba9edbfdfd64f95a9554c0836d9cf819",
        "https://github.com/theupdateframework/tuf-conformance/pull/115"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-362"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47534.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47534",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488615,
  "published_at": "2024-10-01T15:17:47.363+00:00"
}