{"id":"CVE-2020-15163","aliases":["CVE-2020-15163","GHSA-f8mr-jv2c-v8mg","PYSEC-2020-145"],"related":[],"kind":"vulnerability","state":"published","title":"Invalid root may become trusted root in The Update Framework (TUF)","summary":"Python TUF (The Update Framework) reference implementation before version 0.12 it 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 person-in-the-middle attack) culminating in a version which has not been correctly signed to control the trust chain for future updates. This is fixed in version 0.12 and newer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Python TUF (The Update Framework) reference implementation before version 0.12 it 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 person-in-the-middle attack) culminating in a version which has not been correctly signed to control the trust chain for future updates. This is fixed in version 0.12 and newer.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una implementación de referencia de Python TUF (The Update Framework) anterior a la versión 0.12, confiará incorrectamente en un archivo de metadatos root descargado previamente que presentó un fallo al verificar en el momento de la descarga. Esto permite a un atacante que es capaz servir múltiples versiones nuevas de metadatos root (es decir, mediante un ataque de tipo person-in-the-middle) culminar en una versión que no ha sido firmada correctamente para controlar la cadena de confianza de futuras actualizaciones. Esto es corregido en la versión 0.12 y mas recientes.","source":"nvd"}],"published":"2020-09-09T17:29:27.000Z","modified":"2026-09-10T03:48:54.904Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-345","CWE-863"],"affected":[{"ranges":[{"version":"< 0.12","status":"affected"}],"vendor":"theupdateframework","product":"tuf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.0"}],"ecosystem":"PyPI","package":"tuf","purl":"pkg:pypi/tuf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.12.0"}],"vendor":"linuxfoundation","product":"the_update_framework","cpe":"cpe:2.3:a:linuxfoundation:the_update_framework:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3d342e648fbacdf43a13d7ba8886aaaf07334af7"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.0"}],"ecosystem":"PyPI","package":"tuf","purl":"pkg:pypi/tuf","repo":"https://github.com/theupdateframework/tuf","source":"pysec"}],"references":[{"url":"https://github.com/theupdateframework/tuf/security/advisories/GHSA-f8mr-jv2c-v8mg","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/theupdateframework/tuf/pull/885","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/theupdateframework/tuf/releases/tag/v0.12.0","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://pypi.org/project/tuf","tags":["package","product","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/theupdateframework/tuf/commit/3d342e648fbacdf43a13d7ba8886aaaf07334af7","tags":["broken-link","fix","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15163","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-145.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/theupdateframework/tuf","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15163","url":"https://www.cve.org/CVERecord?id=CVE-2020-15163","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.456Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f8mr-jv2c-v8mg","url":"https://github.com/advisories/GHSA-f8mr-jv2c-v8mg","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:54.904Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15163","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15163","licence":"Public domain","modified":"2026-06-17T02:56:10.557Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-145","url":"https://osv.dev/vulnerability/PYSEC-2020-145","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:31.799Z"}],"updatedAt":"2026-11-25T22:57:54.578Z","epss":{"score":0.0067,"percentile":0.53267,"date":"2026-12-01T12:00:22.000Z"}}