Summary
Salt's (VMware) archive.unzip function creates symlink entries from ZIP archives without validating that their targets stay inside the extraction directory (CWE-22, CWE-59). Affected versions are 3006.0 before 3006.31, 3007.0 before 3007.18 and 3008.0 before 3008.6.
The attack is network-based, low complexity and needs no user interaction, but requires authentication: the attacker must be an eauth user permitted to call archive.unzip or archive.extracted and able to supply a crafted ZIP file. They can then create arbitrary symlinks on a minion, enabling file reads or writes outside the extraction directory, with high impact on confidentiality, integrity and availability (CVSS 8.8).
The vulnerability is not in the CISA KEV catalog; the EPSS exploitation probability is low (about 0.6%).
Who is affected
Organizations using Salt for configuration management, especially those granting eauth users access to archive.unzip or archive.extracted.
What to do
- Upgrade Salt to 3006.31, 3007.18 or 3008.6 (depending on your branch), which validate symlink targets before creating them.
- Check installed Salt master and minion versions (e.g. salt --versions-report) to identify vulnerable systems.
- Review eauth ACLs and restrict archive.unzip and archive.extracted to necessary, trusted users until patched.
- Consult the official advisory: https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6
Vendor solution
Symlink targets are validated against the extraction directory before they are created. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
- saltproject.io/blog/advisory-3006-31-3007-18-3008-6 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.