5.7Medium
CVE-2025-2885Root metadata version not validated in tough
Description
Missing validation of the root metatdata version number could allow an actor to supply an arbitrary version number to the client instead of the intended version in the root metadata file, altering the version fetched by the client. Users should upgrade to tough version 0.20.0 or later and ensure any forked or derivative code is patched to incorporate the new fixes.
Weakness (CWE):
CWE-1288
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/awslabs/tough/security/advisories/GHSA-5vmp-m5v2-hx47 vendor-advisoryVendor Advisory
- https://aws.amazon.com/security/security-bulletins/AWS-2025-007/ vendor-advisoryVendor Advisory
- https://github.com/awslabs/tough/releases/tag/tough-v0.20.0 patch
CPE matches (NVD) (1)
cpe:2.3:a:amazon:tough:*:*:*:*:*:rust:*:*< 0.20.0