CVE-2025-2887
MEDIUM 5.7CVSS 4.0tough failure to detect delegated target rollback
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.
- Published
- 27 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- NVD status
- Modified
- Weakness
- CWE-1025
- Also known as
- GHSA-q6r9-r9pw-4cf7
- Sources
- NVDJSONOSV GHSA-q6r9-r9pw-4cf7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 4.0 | MEDIUM 5.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | amazon | toughcpe:2.3:a:amazon:tough:*:*:*:*:*:rust:*:* |
< 0.20.0 | 0.20.0 |
| OSV | crates.io | tough | < 0.20.0 | 0.20.0 |
References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-007/ · Vendor Advisory, WEB
- https://github.com/awslabs/tough/releases/tag/tough-v0.20.0 · WEB
- https://github.com/awslabs/tough/security/advisories/GHSA-q6r9-r9pw-4cf7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-2887 · ADVISORY
- https://github.com/awslabs/tough/commit/3345151a87c358d1ce43aeb7e8b3ebea5ebdbab4 · WEB
- https://github.com/awslabs/tough · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Mar 2025)