Live threats

All CVEs / Amazon

CVE-2021-41149Amazon Tough

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
Yes
Published
Oct 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What happens

Tough provides a set of Rust libraries and tools for using and generating the update framework (TUF) repositories. The tough library, prior to 0.12.0, does not properly sanitize target names when caching a repository, or when saving specific targets to an output directory. When targets are cached or saved, files could be overwritten with arbitrary content anywhere on the system. A fix is available in version 0.12.0. No workarounds to this issue are known.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tough.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io tough < 0.12.0 0.12.0 cargo update -p tough --precise 0.12.0

Per OSV / GitHub Advisories (GHSA-x3r5-q6mj-m485). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
amazontough< 0.12.0

Official sources

References

Links published by the sources. Open them with care.