GitHub Advisoryadvisory · PyPI

GHSA-qcr3-hr2f-6557 SaltStack Salt Permissions Bypass

HIGH Published 2022-03-30 Modified 2024-10-22 Official page ↗
Aliases
CVE-2022-22941
Ecosystem
PyPI
Packages
salt
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-732
Reviewed
2024-04-22

Affected packages

• PyPI salt: < 3002.8 → fixed in 3002.8 • PyPI salt: >= 3003, < 3003.4 → fixed in 3003.4 • PyPI salt: >= 3004, < 3004.1 → fixed in 3004.1

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.

Related

Alias · CVE (1)

  • CVE-2022-22941 An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. vulnerability

Weakness · CWE (1)

  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References