CVE-2021-31607

salt: Command injection in the snapper module

Published Apr 23, 2021 CVSS 3.1 · 7.8 High EPSS 5.9% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2815-1 salt security update
Debian DSA Debian DSA DSA-5011-1 salt security update
Github GHSA Github GHSA GHSA-hcjf-rp5h-g5h3 Command Injection in SaltStack Salt
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 11:03 PM
Reserved
Apr 23, 2021, 12:00 AM
Status
Modified
Published
Apr 23, 2021, 6:15 AM
Modified
Jun 17, 2026, 3:52 AM
Severity
Moderate
Public date
Apr 23, 2021, 12:00 AM