Advisory

GHSA-pwqf-9h7j-7mv8

Also known as: CVE-2020-6174, PYSEC-2020-147

Summary

Incorrect threshold signature computation in TUF

Details

Impact
Metadadata signature verification, as used in tuf.client.updater, counted each of multiple signatures with identical authorized keyids separately towards the threshold. Therefore, an attacker with access to a valid signing key could create multiple valid signatures in order to meet the minimum threshold of keys before the metadata was considered valid.

The tuf maintainers would like to thank Erik MacLean of Analog Devices, Inc. for reporting this issue.

Patches
A fix is available in version 0.12.2 or newer.

Workarounds
No workarounds are known for this issue.

References

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-08-21 16:25 UTC
Modified
2024-11-18 22:58 UTC

Affected packages and fixes

tuf

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.2 (ecosystem)

Fixed versions

0.12.2

Fix

  • Fixed version 0.12.2
    pip install --upgrade tuf==0.12.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences