GitHub Advisoryadvisory · crates.io
GHSA-5q2r-92f9-4m49 Improper verification of signature threshold in tough
HIGH
Official page ↗
- Aliases
- CVE-2020-15093
- Ecosystem
- crates.io
- Packages
- tough
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- Weaknesses
- CWE-347
- Reviewed
- 2021-08-18
Affected packages
• crates.io tough: < 0.7.1 → fixed in 0.7.1
Description
Impact
The tough library, prior to 0.7.1, does not properly verify the uniqueness of keys in the signatures provided to meet the threshold of cryptographic signatures. It allows someone with access to a valid signing key to create multiple valid signatures in order to circumvent TUF requiring a minimum threshold of unique keys before the metadata is considered valid.
AWS would like to thank Erick Tryzelaar of the Google Fuchsia Team for reporting this issue.
Patches
A fix is available in version 0.7.1.
Workarounds
No workarounds to this issue are known.
References
CVE-2020-6174 is assigned to the same issue in the TUF reference implementation.
https://github.com/theupdateframework/tuf/pull/974
https://nvd.nist.gov/vuln/detail/CVE-2020-6174
For more information
If you have any questions or comments about this advisory, contact AWS Security at [email protected].
Related
Alias · CVE (1)
- CVE-2020-15093 The tough library (Rust/crates.io) prior to version 0.7.1 does not properly verify the threshold of cryptographic signatures. vulnerability
Weakness · CWE (1)
- CWE-347 Improper Verification of Cryptographic Signature weakness
References
- https://github.com/awslabs/tough/security/advisories/GHSA-5q2r-92f9-4m49 web
- https://nvd.nist.gov/vuln/detail/CVE-2020-15093 advisory
- https://github.com/theupdateframework/tuf/pull/974 web
- https://github.com/theupdateframework/tuf/commit/2977188139d065ff3356c3cb4aec60c582b57e0e web
- https://github.com/awslabs/tough package
- https://rustsec.org/advisories/RUSTSEC-2020-0024.html web