Advisory

PYSEC-2022-174

Also known as: CVE-2022-22941, GHSA-qcr3-hr2f-6557

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-03-29 17:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 0, fixed 3002.8 (ecosystem)

Fixed versions

3002.8

Fix

  • Fixed version 3002.8
    pip install --upgrade salt==3002.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences