{"id":"CVE-2025-2886","published":"2025-03-27T22:22:14Z","modified":"2025-10-14T18:23:47Z","title":"Terminating targets role delegations are not respected in tough","vendor":"AWS","product":"tough","tier":"tail","description":{"text":"Missing validation of terminating delegation causes the client to continue searching the defined delegation list, even after searching a terminating delegation. This could cause the client to fetch a target from an incorrect source, altering the target contents. 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.26964,"provenance":"source"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"references":[{"url":"https://github.com/awslabs/tough/security/advisories/GHSA-v4wr-j3w6-mxqc","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-439","name":"Manipulation During Distribution"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-28T15:43:34.765460Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tough","vulnerableRanges":["<0.20.0"],"patched":["0.20.0"],"from":["GHSA-v4wr-j3w6-mxqc"],"provenance":"source"}],"summary":{"text":"A flaw in the tough library (AWS's Rust implementation of TUF, The Update Framework) causes the client to ignore a terminating delegation and keep searching the defined delegation list, so targets can be fetched from an incorrect source. An attacker with network access who holds high privileges and can get a user to interact (for example, to trigger an update or fetch) could alter the target contents by exploiting this behaviour.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:54Z"},"euvd":{"id":"EUVD-2025-8665","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aws-tough-cve-2025-2885","parents":[{"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"]}]}]}}