CVE-2021-22004Saltstack Salt
Medium 6.4
Follow: this CVE · Saltstack · Saltstack Salt We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.4
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 31
- Auth required
- Yes
- Published
- Sep 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\salt\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.
What to do
- Apply the vendor's security update for Salt.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | salt |
< 3003.3 |
3003.3 |
pip install "salt>=3003.3" |
| PyPI | salt |
< 3003.3 |
3003.3 |
pip install "salt>=3003.3" |
Per OSV / GitHub Advisories (GHSA-xf37-qcvf-7m57, PYSEC-2021-346). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| saltstack | salt | < 3000.3 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- saltproject.io Patch Vendor Advisory