CVE-2021-31607

Source
https://cve.org/CVERecord?id=CVE-2021-31607
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31607.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-31607
Aliases
Downstream
Related
Published
2021-04-23T06:15:07.893Z
Modified
2026-05-28T04:08:39.947704689Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "33"
                },
                {
                    "last_affected": "34"
                },
                {
                    "last_affected": "35"
                }
            ],
            "vendor_product": "fedoraproject:fedora",
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/saltstack/salt

Affected ranges

Type
GIT
Repo
https://github.com/saltstack/salt
Events
Database specific
{
    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2016.9"
        },
        {
            "last_affected": "3002.6"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v2016.*
v2016.11
v2016.9
v2017.*
v2017.5
v2017.7
v2018.*
v2018.11
v2018.2
v2018.3
v2019.*
v2019.2
v2019.2.1
v2019.2.1rc1
Other
v3000
v3000_docs
v3001
v3001rc1
v3002
v3002rc1
v3000.*
v3000.0rc1
v3000.0rc2
v3000.1
v3001.*
v3001.1
v3002.*
v3002.2
v3002.3
v3002.4
v3002.5
v3002.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31607.json"