CVE-2024-38824: Salt vulnerable to directory traversal attack in file receiving method
Directory traversal vulnerability in recvfile method allows arbitrary files to be written to the master cache directory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3006.12 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3007.4
Event History
Frequently Asked Questions
What is the severity of CVE-2024-38824?
CVE-2024-38824 is classified as a high severity vulnerability due to its potential for arbitrary file writing to the master cache directory.
How do I fix CVE-2024-38824?
To mitigate CVE-2024-38824, upgrade to salt version 3006.12 or 3007.4 or later.
What causes the CVE-2024-38824 vulnerability?
CVE-2024-38824 is caused by a directory traversal vulnerability in the recv_file method.
What platforms are affected by CVE-2024-38824?
CVE-2024-38824 affects pip installations of the salt package between versions 3006.0rc1 and 3006.12, as well as versions 3007.0rc1 and 3007.4.
Can CVE-2024-38824 lead to data loss?
Yes, CVE-2024-38824 could lead to data loss by allowing unauthorized access to files in the master's cache directory.