# CVE-2021-22004: Improper Authentication in SaltStack Salt

- Severity: Medium 6.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2021-09-08T15:00:14.000Z
- Modified: 2026-06-17T03:36:32.340Z
- Also known as: GHSA-xf37-qcvf-7m57, PYSEC-2021-346
- Weaknesses: CWE-287, CWE-362
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Saltstack Salt: Saltstack Salt (before 3003.3); before 3000.3
- salt (PyPI): before 3003.3
- fedoraproject fedora: 33; 34; 35

## Every score

- GitHub: CVSS:3.1 6.4 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/> (advisory, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22004> (advisory)
- <https://github.com/advisories/GHSA-xf37-qcvf-7m57> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-346.yaml> (web)
- <https://github.com/saltstack/salt> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ> (web)
- <https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/> (web)

## Sources

- CVE List: [CVE-2021-22004](https://www.cve.org/CVERecord?id=CVE-2021-22004), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-xf37-qcvf-7m57](https://github.com/advisories/GHSA-xf37-qcvf-7m57), CC-BY-4.0, modified 2024-10-26
- NVD: [CVE-2021-22004](https://nvd.nist.gov/vuln/detail/CVE-2021-22004), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-346](https://osv.dev/vulnerability/PYSEC-2021-346), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-22004 · Whole record: https://cve.day/CVE-2021-22004.json · Rebuilt by cve.day 2026-11-25T22:58:03.777Z
