Path traversal in Salt - CVE-2021-25282

 

Path traversal in Salt - CVE-2021-25282

Published: February 28, 2021 / Updated: May 9, 2021


Vulnerability identifier: #VU50980
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2021-25282
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: SaltStack
Affected software:
Salt

Detailed vulnerability description

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the salt.wheel.pillar_roots.write method. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.


How to mitigate CVE-2021-25282

Install updates from vendor's website.

Sources