{"id":"CVE-2021-41150","aliases":["GHSA-r56q-vv3c-6g9c"],"url":"https://o3.security/vulnerability/CVE-2021-41150","summary":"Improper sanitization of delegated role names","details":"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.","published":"2021-10-19T20:15:08.263Z","modified":"2026-07-09T05:14:24.387790Z","cvss":{"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"},"epss":{"score":0.01281,"percentile":0.67375,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"tough","fixedVersion":"0.12.0"}],"fix":{"url":"https://github.com/awslabs/tough/commit/1809b9bd1106d78a51fbea3071aa97a3530bac9a","label":"awslabs/tough@1809b9b"},"references":[{"type":"ADVISORY","url":"https://github.com/awslabs/tough/security/advisories/GHSA-r56q-vv3c-6g9c"},{"type":"ADVISORY","url":"https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-wjw6-2cqr-j4qr"},{"type":"FIX","url":"https://github.com/awslabs/tough/commit/1809b9bd1106d78a51fbea3071aa97a3530bac9a"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T05:14:24.387790Z"}}