CVE-2022-22941

Name
CVE-2022-22941
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/saltstack/salt/releases,
MISC https://repo.saltproject.io/
MISC https://saltproject.io/security_announcements/salt-security-advisory-release/,

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* salt >= 3002 < 3002.8
cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* salt >= 3003 < 3003.4
cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* salt >= 3004 < 3004.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
salt edge-community 3004.1-r0 Kevin Daudt <kdaudt@alpinelinux.org> fixed
salt 3.15-community 3004-r0 Kevin Daudt <kdaudt@alpinelinux.org> possibly vulnerable
salt 3.16-community 3004.1-r0 Kevin Daudt <kdaudt@alpinelinux.org> fixed