{"id":"CVE-2025-2885","published":"2025-03-27T22:18:11Z","modified":"2025-10-14T18:22:42Z","title":"Root metadata version not validated in tough","vendor":"AWS","product":"tough","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00332,"percentile":0.26965,"provenance":"source"},"cwes":[{"id":"CWE-1288","name":"Improper Validation of Consistency within Input"}],"references":[{"url":"https://github.com/awslabs/tough/security/advisories/GHSA-5vmp-m5v2-hx47","tags":["vendor-advisory"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-007/","tags":["vendor-advisory"]},{"url":"https://github.com/awslabs/tough/releases/tag/tough-v0.20.0","tags":["patch"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":5.39},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"aws","affectedVersions":[{"vendor":"AWS","product":"tough","versions":[">= 0.1.0, < 0.20.0"]}],"capec":[{"id":"CAPEC-153","name":"Input Data Manipulation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-28T15:47:22.646997Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tough","vulnerableRanges":["<0.20.0"],"patched":["0.20.0"],"from":["GHSA-5vmp-m5v2-hx47"],"provenance":"source"}],"summary":{"text":"The root metadata version check in the tough library, an AWS Rust implementation of The Update Framework (TUF), does not validate the version number in the root metadata file. An attacker who can influence that metadata can make the client fetch a different version than the one intended, which requires high-privilege access, the network position to tamper with metadata, and user interaction to trigger the update.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:54Z"},"euvd":{"id":"EUVD-2025-8666","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aws-tough-cve-2025-2885","children":[{"from":"CVE-2025-2885","to":"CVE-2025-2886","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tough/src/lib.rs"],"commits":["https://github.com/awslabs/tough/commit/0eeb60aefe27f00b65730634b788a1aafb8bf3c6","https://github.com/awslabs/tough/commit/598111f88105a707ee68b0fa06c52da7176ea96a"],"basis":"shared function","functions":["Repository","load_targets"]}]},{"from":"CVE-2025-2885","to":"CVE-2025-2887","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tough/src/lib.rs"],"commits":["https://github.com/awslabs/tough/commit/0eeb60aefe27f00b65730634b788a1aafb8bf3c6","https://github.com/awslabs/tough/commit/3345151a87c358d1ce43aeb7e8b3ebea5ebdbab4"],"basis":"shared function","functions":["load_snapshot"]}]},{"from":"CVE-2025-2885","to":"CVE-2025-2888","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tough/src/lib.rs"],"commits":["https://github.com/awslabs/tough/commit/0eeb60aefe27f00b65730634b788a1aafb8bf3c6","https://github.com/awslabs/tough/commit/9b400e1c8b7d6b9ab8009104fa7fe5884db05f18"],"basis":"shared function","functions":["load_timestamp"]}]}]}}