CVE-2021-31607: fedoraproject fedora OS Command Injection
Vulnerability summary
CVE-2021-31607 is a high (CVSS 7.8) OS Command Injection vulnerability in fedoraproject fedora. EPSS estimates a 5.92% chance of exploitation in the next 30 days, higher than 93.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 8 · Related 7Timeline
- 23-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
5.92%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
0.00 pp
From 5.92% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (sec.stealthcopter.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Suse39 products
- golang-github-wrouesnel-postgres_exporter&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS< 0.4.7-5.12.1
- golang-github-wrouesnel-postgres_exporter&distro=SUSE Linux Enterprise Server 11 SP4-CLIENT-TOOLS< 0.4.7-5.12.1
- mgr-cfg&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS< 4.2.2-5.15.2
- mgr-cfg&distro=SUSE Linux Enterprise Server 11 SP4-CLIENT-TOOLS< 4.2.2-5.15.2
- mgr-custom-info&distro=SUSE Linux Enterprise Server 11 SP3-CLIENT-TOOLS< 4.2.1-5.9.2
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Opensuse1 product
- salt&distro=openSUSE Leap 15.3< 3002.2-8.41.8.1
PyPI1 product
- salt≥ 2016.11.0, < 3003rc1
Saltstack1 product
- salt≥ 2016.9, ≤ 3002.6
Ubuntu1 product
- saltAll versions (No fix recorded)
6 vendors · 44 products
References
42 links- sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/WEBREPORTExploitPatchThird Party Advisory
Show all 42 references
- lists.opensuse.org/archives/…Advisory