### [CVE-2021-41150](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41150) ![](https://img.shields.io/static/v1?label=Product&message=tough&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%200.12.0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brightgreen) ### 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. ### POC #### Reference - https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-wjw6-2cqr-j4qr #### Github No PoCs found on GitHub currently.