7.8

CVE-2021-31607: fedoraproject fedora OS Command Injection

CVSS: 7.8v3.1HighModified
AliasesSUSE-SU-2021:14753-1SUSE-SU-2021:1951-1SUSE-SU-2021:2102-1
Published 23-04-2021Last modified 03-08-2024

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.

Overall risk
42/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
5.92%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 8 · Related 7

Timeline

  1. 23-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

20-09-202620-10-2026
EPSS score
5.92%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (sec.stealthcopter.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected 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
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
Show all 42 references