CVE-2021-41149Amazon Tough
High 8.1
Follow: this CVE · Amazon · Amazon Tough We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Tough.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| amazon | tough | < 0.12.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory