CVE-2021-41150: Improper sanitization of delegated role names in tough
Vulnerability summary
CVE-2021-41150 is a high (CVSS 8.2) vulnerability in amazon tough. EPSS estimates a 1.28% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.
Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 19-10-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · Crates.ioEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
1.28%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Amazon1 product
- tough< 0.12.0
Awslabs1 product
- tough< 0.12.0
Crates.Io1 product
- tough< 0.12.0
3 vendors · 3 products
References
5 links- github.com/awslabs/tough/commit/1809b9bd1106d78a51fbea3071aa97a3530bac9aX Refsource MISCWEBPatchThird Party Advisory
- github.com/awslabs/tough/security/advisories/GHSA-r56q-vv3c-6g9cX Refsource CONFIRMWEBThird Party Advisory
- github.com/theupdateframework/python-tuf/security/advisories/GHSA-wjw6-2cqr-j4qrX Refsource MISCWEBThird Party Advisory
- github.com/awslabs/toughPACKAGE