cve.bz

CVE-2021-31607

7.8 highEPSS 5.9%

High (7.8). EPSS 5.9% chance of exploitation in the next 30 days. Fixed in salt 3003rc1.

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).

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
5.9% chance of exploitation in the next 30 days; higher than 93% of CVEs (scores of 2026-10-31)
CWE
CWE-78
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hcjf-rp5h-g5h3PyPIsalt>=2016.11.0 <3003rc13003rc1
PYSEC-2021-56PyPIsalt>=2016.11.0 <3003rc13003rc1

References

Check your stackJSON