{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-41150","published":"2021-10-19T20:15:08.263000Z","last_modified":"2026-06-17T04:07:58.500000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:amazon:tough:*:*:*:*:*:rust:*:*","part":"a","vendor":"amazon","product":"tough","version_end_excluding":"0.12.0"}],"cpes_truncated":false,"vendors":["amazon"],"products":["amazon/tough"],"epss":{"score":0.01281,"percentile":0.70134,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r56q-vv3c-6g9c","ecosystem":"crates.io","name":"tough","purl":"pkg:cargo/tough","ranges":[{"introduced":"0","fixed":"0.12.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-41150/","html_en":"/en/cve/CVE-2021-41150/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41150","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41150"},"untrusted":{"vendor_name":"Amazon","product_name":"Tough","desc_en":"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.","affected":[{"untrusted_vendor":"awslabs","untrusted_product":"tough","versions":[]}],"references":[{"url":"https://github.com/awslabs/tough/commit/1809b9bd1106d78a51fbea3071aa97a3530bac9a","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/awslabs/tough/security/advisories/GHSA-r56q-vv3c-6g9c","tags":["Third Party Advisory"]},{"url":"https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-wjw6-2cqr-j4qr","tags":["Third Party Advisory"]}]}}