CVE-2021-22004: Race Condition

Published Sep 8, 2021
·
Updated

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.

Other sources

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 behavior of the given minion software.

Salt Project

Affected Software

10 affected componentsFixes available
debian/salt<=2018.3.4+dfsg1-6+deb10u3, <=3002.6+dfsg1-4+deb11u1
3004.1+dfsg-2.2
pip/salt<3003.3
3003.3
SaltStack Salt
All of the following
SaltStack Salt<3000.3
Microsoft Windows
fedoraproject fedora=33
fedoraproject fedora=34
fedoraproject fedora=35
SaltStack Salt<3000.3
Microsoft Windows

Remediation

Mitigation

Use the latest Windows installer (v3001.8+, v3002.7+, or v3003.3+) when deploying the salt minion on Windows.

Event History

Sep 8, 2021
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
07:13 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-22004?

CVE-2021-22004 is a vulnerability in SaltStack Salt before version 3003.3 that allows a malicious actor to subvert the proper behavior of the Salt minion software.

2

How severe is CVE-2021-22004?

CVE-2021-22004 has a severity rating of 6.4, which is considered medium.

3

What software is affected by CVE-2021-22004?

SaltStack Salt versions before 3003.3 are affected by CVE-2021-22004.

4

How can I fix CVE-2021-22004?

To fix CVE-2021-22004, update SaltStack Salt to version 3003.3 or later.

5

Where can I find more information about CVE-2021-22004?

More information about CVE-2021-22004 can be found at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-22004), [Fedora Project](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/), [Fedora Project](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203