Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-31607

7.8 · HIGH
Published Apr 23, 2021 saltstack CWE-78 EPSS 3.81% (89th pctl)

Overview

CVE-2021-31607 is a high-severity vulnerability affecting saltstack salt. It was published on April 23, 2021 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from saltstack. Update salt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
saltstack salt 2016.9 Affected

Frequently Asked Questions

What is CVE-2021-31607?

CVE-2021-31607 is a high-severity vulnerability affecting saltstack salt. It was published on April 23, 2021 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-31607?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-31607?

Check the references section for vendor advisories and patches from saltstack. Update salt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-31607?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-31607 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.