Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-22941

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-22941
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:44 UTC · Revision 1

Source evidence

CVE-2022-22941

core-osv · Original source

Published 29 Mar 2022, 00:00 UTC

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.

osv:CVE-2022-22941
Complete source record
{
  "id": "5c36a80fbdfce60efd5441fa921f646a7cd042bc9aac67cae2aeb3dcf32497da",
  "url": "https://osv.dev/vulnerability/CVE-2022-22941",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-22941",
    "summary": "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.",
    "evidence": "osv:CVE-2022-22941",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-22941",
      "aliases": [
        "CVE-2022-22941",
        "GHSA-qcr3-hr2f-6557",
        "PYSEC-2022-174"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/saltstack/salt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "998c382f5f2c3b4cbf7d96aa6913ada6993909b3"
                },
                {
                  "fixed": "836789a88156bb19fdac3fa00139cd278f92418c"
                },
                {
                  "introduced": "6fa95b058b9d999c23dff5eb2ba4127aa2dc8b71"
                },
                {
                  "fixed": "99d30f4022cff1582bba0c28fd606897aa8d248a"
                },
                {
                  "introduced": "fec6e71228f67d1d7bbf1abe32f98acb392d3697"
                },
                {
                  "fixed": "064729c1ed085466cf4863403100461fbe4abd81"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3002"
                      },
                      {
                        "fixed": "3002.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3003"
                      },
                      {
                        "fixed": "3003.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3004"
                      },
                      {
                        "fixed": "3004.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3004",
            "v3004rc1",
            "v3002.7",
            "v3003.3",
            "v3002.6",
            "v3003.2",
            "v3003.1",
            "v3003_docs",
            "v3003rc1",
            "v3002.5",
            "v3002.4",
            "v3002.3",
            "v3002.2",
            "v3002"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-22941.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.887157258Z",
      "provider": "osv",
      "references": [
        "https://github.com/saltstack/salt/releases%2C",
        "https://repo.saltproject.io/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22941.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-22941",
        "https://saltproject.io/security_announcements/salt-security-advisory-release/%2C",
        "https://security.gentoo.org/glsa/202310-22"
      ],
      "provider_metadata": {
        "cna_assigner": "vmware",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22941.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-22941",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492580,
  "published_at": "2022-03-29T00:00:00+00:00"
}