8.8
HIGH CVSS 3.1
CVE-2022-22941
SaltStack Salt Master-of-Masters Unauthorized Targeting vulnerability
Description

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 publisher_acl, if a user configured in the publisher_acl 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 publisher_acl configured on the Master-of-Masters, allowing users specified in the publisher_acl to bypass permissions, publishing authorized commands to any configured minion.

INFO

Published Date :

March 29, 2022, 5:15 p.m.

Last Modified :

May 5, 2025, 5:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-22941 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Saltstack salt
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
Follow the instructions below to mitigate the CVE-2022-22941 vulnerability.
All Salt users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose >=app-admin/salt-3004.2
Public PoC/Exploit Available at Github

CVE-2022-22941 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-22941 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC

cve-2020-

Updated: 7 months, 1 week ago
5 stars 3 fork 3 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2650 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-22941 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-22941 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    May. 05, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-732
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/saltstack/salt/releases%2C
    Added Reference https://repo.saltproject.io/
    Added Reference https://saltproject.io/security_announcements/salt-security-advisory-release/%2C
    Added Reference https://security.gentoo.org/glsa/202310-22
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 21, 2023

    Action Type Old Value New Value
    Changed Reference Type https://github.com/saltstack/salt/releases%2C No Types Assigned https://github.com/saltstack/salt/releases%2C Broken Link
    Changed Reference Type https://saltproject.io/security_announcements/salt-security-advisory-release/%2C No Types Assigned https://saltproject.io/security_announcements/salt-security-advisory-release/%2C Broken Link
    Changed Reference Type https://security.gentoo.org/glsa/202310-22 No Types Assigned https://security.gentoo.org/glsa/202310-22 Third Party Advisory
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference VMware https://saltproject.io/security_announcements/salt-security-advisory-release/%2C [No types assigned]
    Added Reference VMware https://github.com/saltstack/salt/releases%2C [No types assigned]
    Removed Reference VMware https://github.com/saltstack/salt/releases,
    Removed Reference VMware https://saltproject.io/security_announcements/salt-security-advisory-release/,
  • CVE Modified by [email protected]

    Oct. 31, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202310-22 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 06, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/saltstack/salt/releases, No Types Assigned https://github.com/saltstack/salt/releases, Broken Link, Release Notes, Third Party Advisory
    Changed Reference Type https://repo.saltproject.io/ No Types Assigned https://repo.saltproject.io/ Product
    Changed Reference Type https://saltproject.io/security_announcements/salt-security-advisory-release/, No Types Assigned https://saltproject.io/security_announcements/salt-security-advisory-release/, Vendor Advisory
    Added CWE NIST CWE-732
    Added CPE Configuration OR *cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* versions from (including) 3002 up to (excluding) 3002.8 *cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* versions from (including) 3003 up to (excluding) 3003.4 *cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* versions from (including) 3004 up to (excluding) 3004.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.02 }} 0.00%

score

0.02535

percentile