CVE-2025-2888
MEDIUM 5.7CVSS 4.0tough timestamp metadata is cached when it fails snapshot rollback check
During a snapshot rollback, the client incorrectly caches the timestamp metadata. If the client checks the cache when attempting to perform the next update, the update timestamp validation will fail, preventing the next update until the cache is cleared. 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-76g3-38jv-wxh4
- Sources
- NVDJSONOSV GHSA-76g3-38jv-wxh4JSON
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-76g3-38jv-wxh4 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-2888 · ADVISORY
- https://github.com/awslabs/tough/commit/9b400e1c8b7d6b9ab8009104fa7fe5884db05f18 · 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)