CVE-2022-22941 json
SaltStack Salt Permissions Bypass
published 4y ago modified 4mo ago also GHSA-qcr3-hr2f-6557 , PYSEC-2022-174 , EUVD-2022-0273
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi salt 3002.8, 3003.4, 3004.1
- saltstack salt 3002.8, 3003.4, 3004.1
- venv-salt-minion Manager Client Tools 12 3004-3.8.1
- venv-salt-minion Manager Client Tools 15 3004-150000.3.8.1
- salt SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 3002.2-150200.64.1
- salt SLE Module for Transactional Server 15 SP3, SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3 +3 more 3002.2-150300.53.16.1
- salt SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 3002.2-150100.63.1
- salt SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 3002.2-150000.8.41.32.1
- salt SLE Module for Advanced Systems Management 12, Manager Client Tools 12 3000-62.1
- salt SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 3002.2-150100.57.1
suse advisories SUSE-FU-2022:2135-1SUSE-FU-2022:2042-1SUSE-RU-2022:1392-1SUSE-RU-2022:1391-1SUSE-RU-2022:1389-1SUSE-RU-2022:1385-1
- salt openSUSE Leap 15.3 3002.2-150300.53.10.1
opensuse advisories openSUSE-SU-2022:1059-1
- salt Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 3004.1-r0
alpine advisories ALPINE-CVE-2022-22941
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2022-22941 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-22941 updated cvss 8.8
salt: users specified in the publisher_acl able to bypass permissions
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.34% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | salt | <3002.8 >=3003, <3003.4 >=3004, <3004.1 |
3002.8 3003.4 3004.1 |
Affected products
- n/a SaltStack Salt
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
security.gentoo.org
/glsa/202310-22
vendor-advisory, web, third-party-advisory
-
saltproject.io
/security_announcements/salt-security-advisory-release/%2C
broken-link
-
github.com
/saltstack/salt/releases%2C
broken-link
-
repo.saltproject.io
/
product, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-22941
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-174.yaml
web
-
github.com
/saltstack/salt
package
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.8.rst#L31
web
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3003.4.rst#L32
web
-
github.com
/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3004.1.rst#L30
web
-
repo.saltproject.io
web
-
github.com
/saltstack/salt/releases,
web
-
saltproject.io
/security_announcements/salt-security-advisory-release/,
advisory
-
github.com
/advisories/GHSA-qcr3-hr2f-6557
advisory
Sources
- CVE List CVE-2022-22941
- GitHub Advisory GHSA-qcr3-hr2f-6557
- NVD CVE-2022-22941
- OSV PYSEC-2022-174
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.