Path traversal in tough - CVE-2021-41150

 

Path traversal in tough - CVE-2021-41150

Published: October 19, 2021 / Updated: April 25, 2026


Vulnerability identifier: #VU127897
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-41150
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
tough
Software vendor:
Amazon Web Services

Description

The vulnerability allows a local user to overwrite arbitrary .json files on the system.

The vulnerability exists due to improper sanitization of delegated role names in repository caching and filesystem loading logic when caching a repository or loading a repository from the filesystem. A local user can use crafted delegated role names to overwrite arbitrary .json files on the system.


Remediation

Install security update from vendor's website.

External links