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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | salt | 3004.1-r0 | ALPINE-CVE-2022-22941 |
| Alpine:v3.21 | salt | 3004.1-r0 | ALPINE-CVE-2022-22941 |
| Alpine:v3.22 | salt | 3004.1-r0 | ALPINE-CVE-2022-22941 |
| Alpine:v3.23 | salt | 3004.1-r0 | ALPINE-CVE-2022-22941 |
| Alpine:v3.24 | salt | 3004.1-r0 | ALPINE-CVE-2022-22941 |
| PyPI | salt | 3002.8 | GHSA-qcr3-hr2f-6557 |
| PyPI | salt | 3003.4 | GHSA-qcr3-hr2f-6557 |
| PyPI | salt | 3004.1 | GHSA-qcr3-hr2f-6557 |
| PyPI | salt | 3002.8 | PYSEC-2022-174 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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