{"schemaVersion":3,"id":"CVE-2020-15163","aliases":["GHSA-f8mr-jv2c-v8mg","PYSEC-2020-145"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2020-09-09T17:30:19.000Z","modified":"2024-08-04T13:08:22.456Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.9,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0067,"percentile":0.5109,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0067},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0067,"percentile":0.5109}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0067,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0067,"percentile":0.5109}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"}],"affected":[{"vendor":"linuxfoundation","product":"the_update_framework","name":"the update framework","label":"the_update_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12.0","eol":null,"hubHref":"/vendor/linuxfoundation/the_update_framework"},{"vendor":"PyPI","product":"tuf","name":"tuf","label":"tuf","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/tuf","purlType":"pypi","versions":[{"text":"< 3d342e648fbacdf43a13d7ba8886aaaf07334af7","noFixRecorded":false,"fixedIn":null},{"text":"< 0.12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3d342e648fbacdf43a13d7ba8886aaaf07334af7 | < 0.12.0","eol":null,"hubHref":null},{"vendor":"theupdateframework","product":"tuf","name":"tuf","label":"tuf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.12","eol":null,"hubHref":"/vendor/theupdateframework/tuf"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/theupdateframework/tuf/security/advisories/GHSA-f8mr-jv2c-v8mg","label":"github.com/theupdateframework/tuf/security/advisories/GHSA-f8mr-jv2c-v8mg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/theupdateframework/tuf/pull/885","label":"github.com/theupdateframework/tuf/pull/885","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/theupdateframework/tuf/releases/tag/v0.12.0","label":"github.com/theupdateframework/tuf/releases/tag/v0.12.0","hostname":"github.com","tags":["X Refsource MISC","WEB","Third Party Advisory"]},{"url":"https://pypi.org/project/tuf","label":"pypi.org/project/tuf","hostname":"pypi.org","tags":["X Refsource MISC","WEB","PACKAGE","Product","Vendor Advisory"]},{"url":"https://github.com/theupdateframework/tuf/commit/3d342e648fbacdf43a13d7ba8886aaaf07334af7","label":"github.com/theupdateframework/tuf/commit/3d342e648fbacdf43a13d7ba8886aaaf07334af7","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","FIX","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15163","label":"nvd.nist.gov/vuln/detail/CVE-2020-15163","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-145.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-145.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/theupdateframework/tuf","label":"github.com/theupdateframework/tuf","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-09-09T17:30:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T13:08:22.456Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:11:52.245Z","stale":false,"partial":false}}