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.
AWS would like to thank https://github.com/jku for reporting this issue.
A fix is available in version 0.12.0.
No workarounds to this issue are known.
{ "nvd_published_at": "2021-10-19T18:15:00Z", "github_reviewed_at": "2021-10-19T18:04:34Z", "severity": "HIGH", "github_reviewed": true, "cwe_ids": [ "CWE-22" ] }