GHSA-5q2r-92f9-4m49

Suggest an improvement
Source
https://github.com/advisories/GHSA-5q2r-92f9-4m49
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-5q2r-92f9-4m49/GHSA-5q2r-92f9-4m49.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-5q2r-92f9-4m49
Aliases
Published
2021-08-25T20:56:55Z
Modified
2023-11-01T04:51:55.606307Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
Improper verification of signature threshold in tough
Details

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 aws-security@amazon.com.

Database specific
{
    "nvd_published_at": "2020-07-09T19:15:00Z",
    "github_reviewed_at": "2021-08-18T20:40:25Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-347"
    ]
}
References

Affected packages

crates.io / tough

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.1