CVE-2020-15163
JSON

8.7high

Invalid root may become trusted root in The Update Framework (TUF)

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f8mr-jv2c-v8mgPYSEC-2020-145

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.

Affected

Product or packageVersionsReported by
theupdateframework tuf< 0.12CVE List
tuf (PyPI)before 0.12.0, before 3d342e648fbacdf43a13d7ba8886aaaf07334af7GitHub Advisory Database, PyPA Advisory Database
linuxfoundation the_update_frameworkbefore 0.12.0NVD

All scores

GitHub_M8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub8.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
NVD4.9medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

A fix, is available in version 0.12 and newer.

Workarounds

No workarounds are known for this issue.

References
  • Pull request resolving the invalid root becoming trusted issue PR 885
  • Pull request implementing self verification of newly downloaded root metadata PR 1101
NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15163 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-f8mr-jv2c-v8mg changed 2026-09-10CC-BY-4.0
NVDCVE-2020-15163 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-145 changed 2023-11-08CC-BY-4.0