CVE-2025-2885 Root metadata version not validated in tough

Medium 5.7 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2025-2885?

CVE-2025-2885 is a medium-severity vulnerability in AWS tough, published on 27 Mar 2025.

Official description

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.

Weakness: CWE-1288

Which versions are affected by CVE-2025-2885?

2 open source packages ship an affected version, including tough. It affects 1 product.

PackageAffectedFixed in
tough crates.ioAll versions0.20.0
tough crates.ioAll versions0.20.0

Products include Amazon Tough.

How do I fix CVE-2025-2885?

Upgrade tough to 0.20.0 or later.

Is CVE-2025-2885 being exploited?

There is no known exploitation of CVE-2025-2885 in the wild and no public exploit code.

Sources

Also known as GHSA-5vmp-m5v2-hx47.

Is CVE-2025-2885 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free