Read the docs
TI-2021-11706 Aliases CVE-2021-31607GHSA-hcjf-rp5h-g5h3

In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the…

Priority MEDIUM 43CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.

Summary

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

Why it matters now

EPSS 0.05922 93rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial salt (PyPI): 3003rc1Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—salt (PyPI)2016.11.0 to before 3003rc13003rc1Patch availableGHSA-hcjf-rp5h-g5h3
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • salt (PyPI) Vendor— Affected 2016.11.0 to before 3003rc1 Fixed in 3003rc1 Patch available GHSA-hcjf-rp5h-g5h3

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*2016.9 – 3002.6VulnerableSaltStack
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
  • cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* Versions 2016.9 – 3002.6 Vulnerable ·SaltStack
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject

Remediation

  • Fix · GHSA-hcjf-rp5h-g5h3 salt (PyPI) Fixed in 3003rc1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 2AffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-31607
  2. 2026-10-03 Alias added: GHSA-hcjf-rp5h-g5h3

References

Sources