Improper sanitization of delegated role 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 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.
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-r56q-vv3c-6g9c |
- 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-r56q-vv3c-6g9c
Remediation
- Fix · CNA tough (awslabs) Fixed in 0.12.0
- Fix · GHSA-r56q-vv3c-6g9c tough (crates.io) Fixed in 0.12.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-41150
- 2026-10-03 Alias added: GHSA-r56q-vv3c-6g9c
References
Advisory 3
More AWS Tough vulnerabilities
- TI-2020-11868 Improper verification of signature threshold in tough CVSS 3.1HIGH 8.6
- TI-2021-17988 Improper sanitization of target 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-41150 · CVE Program
- CVE-2021-41150 · NVD
- FIRST EPSS
- GHSA-r56q-vv3c-6g9c · 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