Baja

Python-TUF vulnerable to incorrect threshold signature computation for new root metadata

  • Publicada: 15.09.2022
  • Actualizado: 11.10.2026 12:18

Impact

The function _verify_root_self_signed(), introduced in v0.14.0, and which verifies self-signatures in a new root metadata file, counted multiple signatures by any new root key towards the new threshold. That is, any single new root key could theoretically provide enough signatures to meet the threshold for new key self-signatures required during root metadata update.

A scenario where this attack could be relevant is amazingly unlikely in practice to the point where labeling this issue as a security advisory is potentially overstating the impact of the issue. Given that new root keys only become trusted by the client after a successful root metadata update, which also requires the quorum of signatures from old trusted root keys, this issue has been evaluated as low in severity.

In particular, in order to exploit this vulnerability, an attacker must:

  1. Control one new root key.
  2. Craft a new root metadata file such that there is a number of signatures by this new root key greater than or equal to the new threshold.
  3. Cause a valid threshold of the old root keys to sign this new root metadata file.
  4. Cause this new root metadata file to be published on the repository.
  5. Cause clients to rotate to this new root metadata file.

Patches

A fix is available since version 0.16.0.

Workarounds

No workarounds are known for this issue.

References

  • Pull request resolving the issue PR 1218
  • Pull request which introduced the faulty computation of signature threshold on new root metadata PR 1101
  • A similar previous issue with incorrectly computed signature thresholds in tuf is described in GHSA-pwqf-9h7j-7mv8

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) tuf >= 0.14.0, < 0.16.0 0.16.0

Referencias

Puntuación CVSS -
Debilidad (CWE)
-
Plataforma
Python (PyPI)
Paquete
tuf
Publicada
15.09.2022
Actualizado
11.10.2026 12:18

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-r7vq-6425-j94w - CC BY 4.0

Historial de vulnerabilidades: tuf

Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Entradas en total
7
Primera → última
01.2020 05.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Crítica 1
  • Media 4
  • Baja 2

Divulgaciones por año

  1. 2020: 3
  2. 2021: 1
  3. 2022: 1
  4. 2023: 0
  5. 2024: 1
  6. 2025: 0
  7. 2026: 1
  1. Media · 4.0 ghsa-qp9x-wp8f-qgjj < 7.0.0 7.0.0
  2. Baja ghsa-77hh-43cm-v8j6 >= 2.0.0, < 3.1.1 3.1.1
  3. Python-TUF vulnerable to incorrect threshold signature computation for new root metadata esta entrada
    Baja ghsa-r7vq-6425-j94w >= 0.14.0, < 0.16.0 0.16.0
  4. Media · 7.5 CVE-2021-41131 < 0.19.0 0.19.0
  5. Media · 8.7 CVE-2020-15163 < 0.12.0 0.12.0
  6. Crítica · 9.8 CVE-2020-6174 < 0.12.2 0.12.2
  7. Media · 5.3 CVE-2020-6173 >= 0.7.2, < 0.12.2 0.12.2

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.