{"schemaVersion":3,"id":"CVE-2022-22941","aliases":["GHSA-qcr3-hr2f-6557","PYSEC-2022-174","UBUNTU-CVE-2022-22941"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-03-29T00:00:00.000Z","modified":"2025-05-05T16:28:25.364Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0134,"percentile":0.70908,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.005999999999999929,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01346},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0134,"percentile":0.70908}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01346,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0134,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0134,"percentile":0.70908}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"ubuntu","product":"salt","name":"salt","label":"salt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/salt","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"salt","name":"salt","label":"salt","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/salt","purlType":"pypi","versions":[{"text":"≥ 3003, < 3003.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3004, < 3004.1","noFixRecorded":false,"fixedIn":null},{"text":"< 3002.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3003, < 3003.4 | ≥ 3004, < 3004.1 | < 3002.8","eol":null,"hubHref":null},{"vendor":"saltstack","product":"salt","name":"Salt","label":"salt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3002, < 3002.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3003, < 3003.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3004, < 3004.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3002, < 3002.8 | ≥ 3003, < 3003.4 | ≥ 3004, < 3004.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"salt","label":"Salt","category":"server-app"}},"hubHref":"/vendor/saltstack/salt"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://saltproject.io/security_announcements/salt-security-advisory-release/%2C","label":"saltproject.io/security_announcements/salt-security-advisory-release/%2C","hostname":"saltproject.io","tags":["Broken Link"]},{"url":"https://github.com/saltstack/salt/releases%2C","label":"github.com/saltstack/salt/releases%2C","hostname":"github.com","tags":["Broken Link"]},{"url":"https://repo.saltproject.io/","label":"repo.saltproject.io","hostname":"repo.saltproject.io","tags":["WEB","REPORT","Product"]},{"url":"https://security.gentoo.org/glsa/202310-22","label":"security.gentoo.org/glsa/202310-22","hostname":"security.gentoo.org","tags":["Vendor Advisory","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22941","label":"nvd.nist.gov/vuln/detail/CVE-2022-22941","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-174.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-174.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/saltstack/salt","label":"github.com/saltstack/salt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.8.rst#L31","label":"github.com/saltstack/…","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3003.4.rst#L32","label":"github.com/saltstack/…","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3004.1.rst#L30","label":"github.com/saltstack/…","hostname":"github.com","tags":["WEB"]},{"url":"https://repo.saltproject.io","label":"repo.saltproject.io","hostname":"repo.saltproject.io","tags":["WEB"]},{"url":"https://github.com/saltstack/salt/releases,","label":"github.com/saltstack/salt/releases,","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://saltproject.io/security_announcements/salt-security-advisory-release/,","label":"saltproject.io/security_announcements/salt-security-advisory-release/,","hostname":"saltproject.io","tags":["Advisory","REPORT"]},{"url":"https://github.com/advisories/GHSA-qcr3-hr2f-6557","label":"github.com/advisories/GHSA-qcr3-hr2f-6557","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-22941","label":"ubuntu.com/security/CVE-2022-22941","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://saltproject.io/security_announcements/salt-security-advisory-release/","label":"saltproject.io/security_announcements/salt-security-advisory-release/","hostname":"saltproject.io","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-22941","label":"www.cve.org/CVERecord?id=CVE-2022-22941","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2022:1059-1","SUSE-FU-2022:2042-1","SUSE-FU-2022:2135-1","SUSE-RU-2022:1384-1","SUSE-RU-2022:1385-1","SUSE-RU-2022:1389-1","SUSE-RU-2022:1391-1","SUSE-RU-2022:1392-1","SUSE-SU-2022:1049-1","SUSE-SU-2022:1050-1","SUSE-SU-2022:1051-1","SUSE-SU-2022:1057-1","SUSE-SU-2022:1058-1","SUSE-SU-2022:1059-1","SUSE-SU-2022:1060-1"],"duplicates":[],"related":["OPENSUSE-SU-2022:1059-1","SUSE-FU-2022:2042-1","SUSE-FU-2022:2135-1","SUSE-RU-2022:1384-1","SUSE-RU-2022:1385-1","SUSE-RU-2022:1389-1","SUSE-RU-2022:1391-1","SUSE-RU-2022:1392-1","SUSE-SU-2022:1049-1","SUSE-SU-2022:1050-1","SUSE-SU-2022:1051-1","SUSE-SU-2022:1057-1","SUSE-SU-2022:1058-1","SUSE-SU-2022:1059-1","SUSE-SU-2022:1060-1"]},"timeline":[{"kind":"published","date":"2022-03-29T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-05T16:28:25.364Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:21:06.409Z","stale":false,"partial":false}}