Vulnerability · Published Mar 29, 2022 · Assigned by vmware

CVE-2022-22941

High 8.8

In plain English

A high-severity incorrect permission assignment in SaltStack Salt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.3%top 28.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20salt3004.1-r0ALPINE-CVE-2022-22941
Alpine:v3.21salt3004.1-r0ALPINE-CVE-2022-22941
Alpine:v3.22salt3004.1-r0ALPINE-CVE-2022-22941
Alpine:v3.23salt3004.1-r0ALPINE-CVE-2022-22941
Alpine:v3.24salt3004.1-r0ALPINE-CVE-2022-22941
PyPIsalt3002.8GHSA-qcr3-hr2f-6557
PyPIsalt3003.4GHSA-qcr3-hr2f-6557
PyPIsalt3004.1GHSA-qcr3-hr2f-6557
PyPIsalt3002.8PYSEC-2022-174

Affected products (as reported)

VendorProductVersions
n/a SaltStack Salt SaltStack Salt prior to 3002.8, 3003.4, 3004.1

Weakness: CWE-732 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References