CVE-2021-31607

HIGH

SaltStack Salt 2016.9-3002.6 - OS Command Injection via Snapper Module

Title source: llm
STIX 2.1

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

Scores

CVSS v3 7.8
EPSS 0.0381
EPSS Percentile 88.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (5)
fedoraproject/fedora 33
fedoraproject/fedora 34
fedoraproject/fedora 35
pypi/salt 2016.11.0 - 3003rc1PyPI
saltstack/salt 2016.9 - 3002.6
Published Apr 23, 2021
Tracked Since Feb 18, 2026