Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tuf
  4. ›
  5. CVE-2020-15163

CVE-2020-15163: Invalid root may become trusted root in The Update Framework (TUF)

September 9, 2020 (updated November 18, 2024)

The 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.

While 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. This missing step of the client workflow has been implemented in PR #1101, which is included in v0.14.0 of tuf.

References

  • github.com/advisories/GHSA-f8mr-jv2c-v8mg
  • github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-145.yaml
  • github.com/theupdateframework/tuf
  • github.com/theupdateframework/tuf/commit/3d342e648fbacdf43a13d7ba8886aaaf07334af7
  • github.com/theupdateframework/tuf/pull/885
  • github.com/theupdateframework/tuf/releases/tag/v0.12.0
  • github.com/theupdateframework/tuf/security/advisories/GHSA-f8mr-jv2c-v8mg
  • nvd.nist.gov/vuln/detail/CVE-2020-15163
  • pypi.org/project/tuf

Code Behaviors & Features

Detect and mitigate CVE-2020-15163 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.0

Fixed versions

  • 0.12.0

Solution

Upgrade to version 0.12.0 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-863: Incorrect Authorization

Source file

pypi/tuf/CVE-2020-15163.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.