Version Number Validation Flaw in Tough by AWS
CVE-2025-2885
5.7MEDIUM
What is CVE-2025-2885?
A flaw in the Tough library by AWS permits an attacker to bypass validation for the root metadata version number. This allows the attacker to provide an arbitrary version number to clients, which may result in the retrieval of a different version than intended from the root metadata file. Users are advised to upgrade to Tough version 0.20.0 or later and to apply necessary patches to any derivative code to address this issue effectively.
Affected Version(s)
tough 0.1.0 < 0.20.0