CVE DatabaseCVE-2020-11651
한국어 권고문 →
CVE-2020-116519.8/CRITICALCISA KEV

SaltStack Salt Unauthenticated Remote Code Execution (RCE) Vulnerability Analysis (CVE-2020-11651)

⚡ Jump to Patch
Affected Vendors
saltstack
Affected Components
salt
Published Date
2020-04-30
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
96.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

SaltStack Salt versions before 2019.2.4 and 3000 before 3000.2

Impact

Unauthenticated remote attackers can bypass authentication via the ClearFuncs class to retrieve master tokens or execute arbitrary commands on connected salt minions

Mitigation

Immediately upgrade SaltStack to patched versions (2019.2.4, 3000.2, or higher) and restrict access to salt-master ports (4505, 4506)

Affected Products & Version Scope

SaltStack Salt versions prior to 2019.2.4 and 3000 prior to 3000.2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Use the system package manager to upgrade the Salt packages to the latest secure versions.

bash
# For Debian/Ubuntu-based systems
sudo apt-get update
sudo apt-get install --only-upgrade salt-master salt-minion -y

# For RHEL/CentOS-based systems
sudo yum update salt-master salt-minion -y

# Restart the Salt services
sudo systemctl restart salt-master
sudo systemctl restart salt-minion

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, restrict access to the salt-master ports (4505 and 4506) using a firewall, allowing connections only from trusted minion IPs.

bash
# Block external access by default (using UFW)
sudo ufw default deny incoming

# Allow access to ports 4505 and 4506 only from trusted IP ranges
sudo ufw allow from 192.168.1.0/24 to any port 4505 proto tcp
sudo ufw allow from 192.168.1.0/24 to any port 4506 proto tcp
sudo ufw reload

3. Log Audit & IoC Verification Commands

Verify the currently running Salt version and inspect the master logs for unauthorized ClearFuncs calls or root key access attempts.

bash
# Check the installed Salt version
salt --version

# Search for suspicious ClearFuncs or root_key access in the master logs
grep -i 'ClearFuncs' /var/log/salt/master
grep -i 'root_key' /var/log/salt/master
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Datadog Cloud & Kubernetes Security
To secure your infrastructure, immediately upgrade SaltStack to version 2019.2.4 or 3000.2 and restrict public access to ports 4505 and 4506.

Detect Container Escape & Privilege Escalation Across Your Kubernetes Fleet

Continuous eBPF-based runtime threat detection and posture management for AWS, GCP, Azure, Docker, and Kubernetes workloads.

Real-Time Production Container CVE Mapping

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2020-11651) is a critical authentication bypass and remote code execution (RCE) flaw within the salt-master process of SaltStack Salt. The salt-master utilizes ZeroMQ to communicate with its minions, where the ClearFuncs class is designed to handle unauthenticated requests. However, a severe design flaw exists where the ClearFuncs class fails to properly validate and restrict method calls, allowing remote unauthenticated users to invoke sensitive internal methods directly.

2. Exploitation Mechanics & Attack Scenario

An attacker can exploit this vulnerability by sending specially crafted ZeroMQ messages to the salt-master control port (typically port 4506). Because the ClearFuncs class processes these messages without verifying authorization, the attacker can:

  • Call the _prep_auth_info() method to retrieve the master's local user tokens and the root key.
  • Leverage the retrieved root key to call the _send_pub() method, which publishes arbitrary shell commands to all connected salt-minion instances to be executed with root privileges.

This process requires no user interaction or valid credentials, making it highly susceptible to automated exploitation.

3. Infrastructure & Business Impact

With a CVSS score of 9.8 and its inclusion in the CISA KEV catalog, this vulnerability represents an extreme risk to enterprise environments. Successful exploitation grants the attacker complete administrative control over the entire infrastructure managed by the compromised Salt master. This can lead to widespread ransomware deployment, data exfiltration, unauthorized resource utilization (e.g., cryptomining), and lateral movement across internal networks.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2020-11651)

FAQ

Q1. How critical is CVE-2020-11651 and is it actively exploited in the wild?

CVE-2020-11651 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 96.6%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2020-11651?

Primary impacted vendors include saltstack across salt. Scope summary: SaltStack Salt versions prior to 2019.2.4 and 3000 prior to 3000.2

Q3. What temporary mitigations or workarounds exist for CVE-2020-11651 before patching?

[Mitigation] Immediately upgrade SaltStack to patched versions (2019.2.4, 3000.2, or higher) and restrict access to salt-master ports (4505, 4506) Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2020-11651

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (saltstack)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2020-11651 SaltStack Salt Unauthenticated Remote Code Execution (RCE) Vulnerability Analysis (CVE-2020-11651) (CVSS 9.8) - Patch & Workaround | CVE Pulse