Skip to content

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

MediumCVSS 5.7 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
crates.io tough(crates.io) < 0.20.0 0.20.0
AWS tough >= 0.1.0, < 0.20.0 0.20.0
Amazon tough < 0.20.0 0.20.0

References