CVE-2022-22941: High severity saltstack vulnerability

Published Mar 29, 2022
·
Updated

An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. When configured as a Master-of-Masters, with a publisheracl, if a user configured in the publisheracl targets any minion connected to the Syndic, the Salt Master incorrectly interpreted no valid targets as valid, allowing configured users to target any of the minions connected to the syndic with their configured commands. This requires a syndic master combined with publisheracl configured on the Master-of-Masters, allowing users specified in the publisheracl to bypass permissions, publishing authorized commands to any configured minion.

Affected Software

7 affected componentsFixes available
pip/salt<3002.8
3002.8
pip/salt>=3004<3004.1
3004.1
pip/salt>=3003<3003.4
3003.4
SaltStack Salt<3004.1, <3003.4, <3002.8
3004.13003.43002.8
SaltStack Salt>=3002<3002.8
SaltStack Salt>=3003<3003.4
SaltStack Salt>=3004<3004.1

Remediation

Mitigation

Solution: The code has been modified to correctly treat an empty list of targets as completely invalid, and the user will correctly be given an error message. How to Mitigate: Upgrade the Salt Master-of-Masters to the latest version of salt software.

Event History

Mar 29, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionWeakness
Mar 30, 2022
Advisory Published
via GitHub·12:00 AM

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-2022-22941?

CVE-2022-22941 is a vulnerability found in SaltStack Salt before version 3002.8, 3003.4, and 3004.1 that allows an attacker to target minions connected to the Syndic when configured as a Master-of-Masters with a publisher_acl.

2

How severe is CVE-2022-22941?

CVE-2022-22941 has a severity level of 8.8 (high).

3

How can I fix CVE-2022-22941?

To fix CVE-2022-22941, upgrade SaltStack Salt to version 3002.8, 3003.4, or 3004.1.

4

Where can I find more information about CVE-2022-22941?

You can find more information about CVE-2022-22941 on the SaltStack Salt GitHub releases page, SaltStack repository, and SaltStack security advisory release page.

5

What is CWE-732?

CWE-732 is a specific weakness category that refers to incorrect interpretation of a security-sensitive feature or behavior.

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