CVE-2025-2887 json
Failure to detect delegated target rollback in tough
published 2025-03-27 19 mo ago modified 2026-06-17 4 mo ago also GHSA-q6r9-r9pw-4cf7 , EUVD-2025-8629
- cvss
- 4.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io tough 0.20.0
- AWS tough 0.20.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | tough | <0.20.0 |
0.20.0 |
Affected products
- AWS tough
Classification
- Weakness
-
- CWE-1025 Comparison Using Wrong Factors
References
-
github.com
/awslabs/tough/releases/tag/tough-v0.20.0
patch, web
-
github.com
/awslabs/tough/commit/3345151a87c358d1ce43aeb7e8b3ebea5ebdbab4
web
-
github.com
/awslabs/tough/security/advisories/GHSA-q6r9-r9pw-4cf7
vendor-advisory, web
-
aws.amazon.com
/security/security-bulletins/AWS-2025-007/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-2887
advisory
-
aws.amazon.com
/security/security-bulletins/AWS-2025-007
web
-
github.com
/awslabs/tough
package
Sources
- CVE List CVE-2025-2887
- GitHub Advisory GHSA-q6r9-r9pw-4cf7
- NVD CVE-2025-2887
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.