Path Traversal in Amazon Tough
CVE-2021-41150
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.013 (68.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N.
Affected products
- Amazon Tough
- Awslabs Tough — versions < 0.12.0
Weakness classification (CWE)
References
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-41150?
- CVE-2021-41150 is a high-severity vulnerability in Amazon Tough, classified under Path Traversal. CVSS score: 8.2/10. Published 2021-10-19.
- How severe is CVE-2021-41150?
- High severity. CVSS v3 base score is 8.2 out of 10.