{"id":"CVE-2020-15163","aliases":["GHSA-f8mr-jv2c-v8mg","PYSEC-2020-145"],"title":"Invalid root may become trusted root in The Update Framework (TUF)","summary":"Invalid root may become trusted root in The Update Framework (TUF)","severity":"high","cvss":8.7,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","vendor":"tuf","product":"tuf","ecosystem":"pip","affected":["tuf < 0.12.0"],"patched":["tuf 0.12.0"],"published":"2020-09-09","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:48:54.904097074Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-f8mr-jv2c-v8mg","references":[{"url":"https://github.com/theupdateframework/tuf/security/advisories/GHSA-f8mr-jv2c-v8mg"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15163"},{"url":"https://github.com/theupdateframework/tuf/pull/885"},{"url":"https://github.com/theupdateframework/tuf/commit/3d342e648fbacdf43a13d7ba8886aaaf07334af7"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-145.yaml"},{"url":"https://github.com/theupdateframework/tuf"},{"url":"https://github.com/theupdateframework/tuf/releases/tag/v0.12.0"},{"url":"https://pypi.org/project/tuf"}],"tags":["osv","pip"],"epss":0.0067,"epssPercentile":0.49817,"ingestedAt":"2026-09-12T03:13:01.690Z","slug":"CVE-2020-15163","body":"## Overview\n\n### Impact\nThe Python TUF reference implementation `tuf<0.12` will incorrectly trust a previously downloaded root metadata file which failed verification at download time. This allows an attacker who is able to serve multiple new versions of root metadata (i.e. by a man-in-the-middle attack) culminating in a version which has not been correctly signed to control the trust chain for future updates.\n\nWhile investigating the reported vulnerability, we discovered that the detailed client workflow was not fully implemented. Specifically, for step 1.3 the newly downloaded root metadata was not being verified with a threshold of keys specified in the new root metadata file.\nThis missing step of the client workflow has been implemented in [PR #1101](https://github.com/theupdateframework/tuf/pull/1101), which is included in [v0.14.0](https://github.com/theupdateframework/tuf/releases/tag/v0.14.0) of tuf.\n\n### Patches\nA [fix](https://github.com/theupdateframework/tuf/pull/885), is available in version [0.12](https://github.com/theupdateframework/tuf/releases/tag/v0.12.0) and newer.\n\n### Workarounds\nNo workarounds are known for this issue.\n\n### References\n* Pull request resolving the invalid root becoming trusted issue [PR 885](https://github.com/theupdateframework/tuf/pull/885)\n* Pull request implementing self verification of newly downloaded root metadata [PR 1101](https://github.com/theupdateframework/tuf/pull/1101)\n\n## Affected packages\n\n- `tuf < 0.12.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `tuf 0.12.0`","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":47.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}