CVE-2021-31607

Summary

CVECVE-2021-31607
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-23 06:15:00 UTC
Updated2023-12-21 18:32:00 UTC
DescriptionIn 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 And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Saltstack Salt All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 33 Update: salt-3003-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: salt-3003.3-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 33 Update: salt-3003-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] [DLA 2815-1] salt security update MLIST lists.debian.org
[SECURITY] Fedora 34 Update: salt-3003.3-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: salt-3003.3-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Debian -- Security Information -- DSA-5011-1 salt DEBIAN www.debian.org
SaltStack Minion Privledge Escaltion in Snapper Module MISC sec.stealthcopter.com
[SECURITY] Fedora 33 Update: salt-3003.3-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: salt-3003.3-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: salt-3003.3-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Salt: Multiple Vulnerabilities (GLSA 202310-22) — Gentoo security GENTOO security.gentoo.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178891 Debian Security Update for salt (DLA 2815-1)
  • 178903 Debian Security Update for salt (DSA 5011-1)
  • 179605 Debian Security Update for salt (CVE-2021-31607)
  • 281240 Fedora Security Update for salt (FEDORA-2021-5aaebdae8e)
  • 281892 Fedora Security Update for salt (FEDORA-2021-00ada7e667)
  • 281893 Fedora Security Update for salt (FEDORA-2021-93a7c8b7c6)
  • 376109 SaltStack Salt Minion Multiple Vulnerabilities
  • 376110 SaltStack Salt Minion Command Injection Vulnerability
  • 501689 Alpine Linux Security Update for salt
  • 710782 Gentoo Linux Salt Multiple Vulnerabilities (GLSA 202310-22)
  • 750029 SUSE Enterprise Linux Security Beta update for SUSE Manager Client Tools (SUSE-SU-2021:14732-1)
  • 750154 SUSE Enterprise Linux Security Update for salt (SUSE-SU-2021:1951-1)
  • 750687 SUSE Enterprise Linux Security Update for Salt (SUSE-SU-2021:2104-1)
  • 750688 SUSE Enterprise Linux Security Update for salt (SUSE-SU-2021:2105-1)
  • 750705 OpenSUSE Security Update for salt (openSUSE-SU-2021:0899-1)
  • 750760 OpenSUSE Security Update for salt (openSUSE-SU-2021:2106-1)
  • 750769 OpenSUSE Security Update for salt (openSUSE-SU-2021:1951-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report