CVE-2021-31607

High

Description

In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).

SeverityHigh
CVSS7.8
Exploit probability—
ProductSalt
PublishedApr 23, 2021
First seenApr 23, 2021

How to fix

Affected products

ProductAffected versionsFixed in
saltstack salt2016.9 ≤ v ≤ 3002.6—
fedoraproject fedora33, 34, 35—
saltPyPI2016.11.0 ≤ v < 3003rc13003rc1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.