{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.12.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e8f453e7c502ea2bbcbb8f76d38fa2674c895342"
            },
            {
              "fixed": "1809b9bd1106d78a51fbea3071aa97a3530bac9a"
            }
          ],
          "repo": "https://github.com/awslabs/tough",
          "type": "GIT"
        }
      ]
    }
  ],
  "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 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.",
  "id": "CVE-2021-41149",
  "modified": "2026-03-13T21:48:10.286786917Z",
  "published": "2021-10-19T18:15:08.093Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/awslabs/tough/security/advisories/GHSA-x3r5-q6mj-m485"
    },
    {
      "type": "FIX",
      "url": "https://github.com/awslabs/tough/commit/1809b9bd1106d78a51fbea3071aa97a3530bac9a"
    }
  ],
  "related": [
    "GHSA-x3r5-q6mj-m485"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}