CVE-2021-31607
Command Injection in SaltStack Salt
7.8
HIGH
CVSS 3.1
EPSS 4.5%
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).
How to fix CVE-2021-31607
To remediate CVE-2021-31607, upgrade the affected package to a fixed version below.
- —upgrade to 3003rc1 or later
- —upgrade to 3003rc1 or later
Is CVE-2021-31607 being exploited?
Low — EPSS is 4.5%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 2016.11.0, < 3003rc1
- >= 2016.11.0, < 3003rc1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |