Incorrect Permission Assignment for Critical Resource Affecting salt package, versions <3004.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.61% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-SALT-8489344
  • published6 Dec 2024
  • disclosed29 Mar 2022

Introduced: 29 Mar 2022

CVE-2022-22941  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 salt to version 3004.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream salt package and not the salt package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

CVSS Scores

version 3.1