Improper sanitization of target names in tough
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AWS | tough | before 0.12.0 | 0.12.0 | Patch available | CNA |
| — | tough (crates.io) | before 0.12.0 | 0.12.0 | Patch available | GHSA-x3r5-q6mj-m485 |
- tough VendorAWS Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
- tough (crates.io) Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available GHSA-x3r5-q6mj-m485
Remediation
- Fix · CNA tough (awslabs) Fixed in 0.12.0
- Fix · GHSA-x3r5-q6mj-m485 tough (crates.io) Fixed in 0.12.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-41149
- 2026-10-03 Alias added: GHSA-x3r5-q6mj-m485
References
More AWS Tough vulnerabilities
- TI-2020-11868 Improper verification of signature threshold in tough CVSS 3.1HIGH 8.6
- TI-2021-17989 Improper sanitization of delegated role names in tough CVSS 3.1HIGH 8.2
- TI-2026-06100 Multiple Path Traversal Variants in awslabs/tough CVSS 4.0HIGH 7.1
- TI-2026-06099 Missing Delegated Metadata Validation in awslabs/tough CVSS 4.0HIGH 7.1
- TI-2026-06098 Signature Threshold Bypass in awslabs/tough Delegated Roles CVSS 4.0HIGH 7.0
- TI-2025-02523 Improper timestamp caching during snapshot rollback in tough CVSS 4.0MEDIUM 5.7
Sources
- CVE-2021-41149 · CVE Program
- CVE-2021-41149 · NVD
- FIRST EPSS
- GHSA-x3r5-q6mj-m485 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences