# CVE-2021-41149: Improper sanitization of target names in tough

- Priority: **Routine**
- Reason: Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-19 · Modified: 2024-08-04
- Aliases: GHSA-x3r5-q6mj-m485
- Record: https://cvemate.com/vulnerability/CVE-2021-41149 · JSON: https://cvemate.com/vulnerability/CVE-2021-41149/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v2.0, NVD) AV:N/AC:L/Au:S/C:N/I:C/A:C
- EPSS: 1.113%, percentile 67.084%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon tough: \< 0.12.0
- awslabs tough: \< 0.12.0
- Crates.Io tough (Crates.Io): \< 0.12.0

## References

- <https://github.com/awslabs/tough/security/advisories/GHSA-x3r5-q6mj-m485>
- <https://github.com/awslabs/tough/commit/1809b9bd1106d78a51fbea3071aa97a3530bac9a>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41149>
- <https://github.com/awslabs/tough>

---

Data as of 2026-12-05T09:58:06.879Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
