Alpine Security Database
ALPINE-CVE-2022-22941
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.16 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.17 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.18 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.19 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.20 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.21 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.22 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.23 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |
| Alpine:v3.24 | salt | From 3004 before 3004.1-r0 (fixed in 3004.1-r0) |