{"id":"CVE-2025-2887","published":"2025-03-27T22:23:04Z","modified":"2025-10-14T18:25:28Z","title":"Failure to detect delegated target rollback in tough","vendor":"AWS","product":"tough","tier":"tail","description":{"text":"During a target rollback, the client fails to detect the rollback for delegated targets. 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.26965,"provenance":"source"},"cwes":[{"id":"CWE-1025","name":"Comparison Using Wrong Factors"}],"references":[{"url":"https://github.com/awslabs/tough/security/advisories/GHSA-q6r9-r9pw-4cf7","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-25","name":"Forced Deadlock"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-28T14:44:40.783814Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tough","vulnerableRanges":["<0.20.0"],"patched":["0.20.0"],"from":["GHSA-q6r9-r9pw-4cf7"],"provenance":"source"}],"summary":{"text":"The flaw lies in the tough library from AWS, where the client fails to detect a target rollback for delegated targets during a target rollback. An attacker who can influence the delegated target metadata, with high attack complexity and privileges, user interaction, and no required network access, could cause the client to fetch a target from an incorrect source and alter the target contents, affecting integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:54Z"},"euvd":{"id":"EUVD-2025-8629","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aws-tough-cve-2025-2885","parents":[{"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"]}]}],"children":[{"from":"CVE-2025-2887","to":"CVE-2025-2888","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tough/src/error.rs","tough/src/lib.rs"],"commits":["https://github.com/awslabs/tough/commit/3345151a87c358d1ce43aeb7e8b3ebea5ebdbab4","https://github.com/awslabs/tough/commit/9b400e1c8b7d6b9ab8009104fa7fe5884db05f18"],"basis":"rarely changed file"}]}]}}