CVE-2025-2885
MEDIUM 5.7CVSS 4.0tough root metadata version is not checked for sequential versioning
Missing validation of the root metatdata version number could allow an actor to supply an arbitrary version number to the client instead of the intended version in the root metadata file, altering the version fetched by the client. 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-1288
- Also known as
- GHSA-5vmp-m5v2-hx47
- Sources
- NVDJSONOSV GHSA-5vmp-m5v2-hx47JSON
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:H/A:N |
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-5vmp-m5v2-hx47 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-2885 · ADVISORY
- https://github.com/awslabs/tough/commit/0eeb60aefe27f00b65730634b788a1aafb8bf3c6 · 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)