CVE-2020-6174
CRITICAL9.8EPSS 0.19%Incorrect threshold signature computation in TUF
Description
### 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](https://github.com/theupdateframework/tuf/pull/974) is available in version [0.12.2](https://github.com/theupdateframework/tuf/releases/tag/v0.12.2) or newer. ### Workarounds No workarounds are known for this issue. ### References * [CVE-2020-6174](https://nvd.nist.gov/vuln/detail/CVE-2020-6174) * Pull request resolving the issue [PR 974](https://github.com/theupdateframework/tuf/pull/974)
Affected packages (2)
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://github.com/advisories/GHSA-pwqf-9h7j-7mv8
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-6174
- PATCHhttps://github.com/theupdateframework/tuf
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-147.yaml
- WEBhttps://github.com/theupdateframework/python-tuf/commit/2977188139d065ff3356c3cb4aec60c582b57e0e
- WEBhttps://github.com/theupdateframework/tuf/pull/974
- WEBhttps://github.com/theupdateframework/tuf/releases/tag/v0.12.2
- WEBhttps://github.com/theupdateframework/tuf/security/advisories/GHSA-pwqf-9h7j-7mv8