tuf
Affected
- introduced
0, fixed0.12.2(ecosystem)
Fixed versions
0.12.2
Fix
- Fixed version
0.12.2pip install --upgrade tuf==0.12.2
Advisory
Also known as: CVE-2020-6174, PYSEC-2020-147
Incorrect threshold signature computation in TUF
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
Critical Basis: The source's own band: CRITICAL
0, fixed 0.12.2 (ecosystem)0.12.2
0.12.2pip install --upgrade tuf==0.12.2Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0