CVE-2025-2887 Details
Description
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.
A vulnerability exists in Tough versions prior to 0.20.0, where the client fails to properly detect rollbacks in delegated targets during a target update process. This oversight can lead the client to retrieve targets from incorrect sources, potentially altering the contents of those targets. The issue arises because, while Tough checks for updates in regular targets metadata, it does not apply the same scrutiny to delegated targets. As a result, Tough may inadvertently trust and download outdated targets that should have been rejected.
Users are advised to upgrade to Tough version 0.20.0 or later and to patch any forked or derivative code to include the latest fixes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://aws.amazon.com/security/security-bulletins/AWS-2025-007/ | AMZN | Vendor Advisory |
| https://github.com/awslabs/tough/releases/tag/tough-v0.20.0 | AMZN | |
| https://github.com/awslabs/tough/security/advisories/GHSA-q6r9-r9pw-4cf7 | AMZN | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1025 | Comparison Using Wrong Factors | AMZN |
Affected Products
| Product | Versions |
|---|---|
| amazon tough | < 0.20.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | AMZN |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2025 | CVE Modified | AMZN |
| Sep 19, 2025 | Initial Analysis | [email protected] |
| Mar 27, 2025 | New CVE Received | AMZN |