CVE-2021-31607

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

Risk Information

Base Score
7.8
MODERATE
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
4.548

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2021-25315,CVE-2021-31607 are affected in VMware SALT 3001.4Windows
Vulnerabilities CVE-2021-31607 are fixed in Python-salt 3003rc1Windows
SUSE-SU-2021:2106-1(SUSE Linux Enterprise Module for Python2 15-SP3 ) python2-distro-1.5.0-3.5.1.noarch.rpmLinux
SUSE-SU-2021:2106-1(SUSE Linux Enterprise Module for Basesystem 15-SP3 ) python3-distro-1.5.0-3.5.1.noarch.rpmLinux
Vulnerabilities CVE-2021-31607 are fixed in Python-salt for linux 3003rc1Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234