CVE-2021-31607In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege…
- 7.8HighCVSS base score
- 5.9%Exploitation in 30 daysEPSS · top 6.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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).
Timeline
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 5.9% · top 6.6% of all CVEs (13 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References8
- https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/ (opens in a new tab)x_transferred
- FEDORA-2021-5aaebdae8e (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-00ada7e667 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-93a7c8b7c6 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-158e9c6eb9 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20211110 [SECURITY] [DLA 2815-1] salt security update (opens in a new tab)mailing-listx_transferred
- DSA-5011 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202310-22 (opens in a new tab)vendor-advisoryx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0233 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hcjf-rp5h-g5h3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-31607)Record last updated .