CVE-2022-22941: High severity SaltStack Salt vulnerability

Published Mar 28, 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

16 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
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0
alpine/salt>=3002<3004.1-r0
3004.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 3002.8
  2. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 3004.1
  3. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 3003.4
  4. Upgrade

    Upgrade alpine/salt to a version that resolves this vulnerability.

    Fixed in 3004.1-r0
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3004.1Fixed in 3003.4Fixed in 3002.8
  6. Upgrade

    Upgrade SaltStack Salt to a version that resolves this vulnerability.

    Fixed in 3002.8
  7. Upgrade

    Upgrade SaltStack Salt to a version that resolves this vulnerability.

    Fixed in 3003.4
  8. Upgrade

    Upgrade SaltStack Salt to a version that resolves this vulnerability.

    Fixed in 3004.1

Event History

Mar 28, 2022
CVE Published
via Salt Project·12:00 AM
Data Sourced
via Salt Project·12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 29, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Mar 30, 2022
Advisory Published
via GitHub·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

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