Security mailing lists by PureSourceCode

CVE-2021-41149

HIGH 8.1CVSS 3.1

Improper sanitization of target names

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.

Published
19 Oct 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-x3r5-q6mj-m485
Sources
NVDJSONOSV GHSA-x3r5-q6mj-m485JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 8.5 AV:N/AC:L/Au:S/C:N/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD amazon tough
cpe:2.3:a:amazon:tough:*:*:*:*:*:rust:*:*
< 0.12.0 0.12.0
OSV crates.io tough < 0.12.0 0.12.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 19 Oct 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.