CVE-2021-41150Amazon Tough
Medium 6.5
Follow: this CVE · Amazon · Amazon Tough We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- 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:N
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 delegated role names when caching a repository, or when loading a repository from the filesystem. When the repository is cached or loaded, files ending with the .json extension could be overwritten with role metadata 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-r56q-vv3c-6g9c). 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
- github.com Third Party Advisory