Skip to content
Server Security Center
KEVcritical9.8

CVE-2020-11651: SaltStack Salt Authentication Bypass

SaltStack Salt · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
97%
higher than 99.8% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Ubuntu priority
medium

CVE-2020-11651 explained

CVE-2020-11651 is an authentication bypass in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master ClearFuncs class does not properly validate method calls, so remote users can reach some methods without authentication. It is listed in CISA's Known Exploited Vulnerabilities catalog, so exposed salt masters should be treated as a priority.

Impact

An unauthenticated remote attacker who can reach the salt-master over the network can call protected methods. These can be used to retrieve user tokens from the salt master and to run arbitrary commands on salt minions. Attack complexity is low and no user interaction is needed. Confidentiality, integrity and availability impacts are all high, which can mean a compromise of every minion managed by the master.

Who is affected

The salt source package is affected on Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. All three have fixed versions. Ubuntu 14.04 LTS is fixed in 0.17.5+ds-1ubuntu0.1~esm2, available only through Ubuntu Pro (ESM). Ubuntu 16.04 LTS is fixed in 2015.8.8+ds-1ubuntu0.1 and Ubuntu 18.04 LTS in 2017.7.4+dfsg1-1ubuntu18.04.2, both in the standard archive. Ubuntu 14.04 LTS and 16.04 LTS are end of life. Standard support for 18.04 LTS has ended.

Written with AI from the data on this page and checked against it automatically.

Official description

An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class does not properly validate method calls. This allows a remote user to access some methods without authentication.

These methods can be used to retrieve user tokens from the salt master and/or run arbitrary commands on salt minions.

CISA required action: Apply updates per vendor instructions.

CISA notes

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Identify every host running a salt-master, starting with those reachable from untrusted networks.
  2. Update the salt packages to the fixed version for your release. On Ubuntu 14.04 LTS, this requires Ubuntu Pro (ESM).
  3. Restart the salt-master service so the patched code is running.
  4. Restrict network access to the salt-master ports to trusted minion networks only.
  5. Review salt-master and minion activity for unexpected commands or token use, and rotate credentials if you find signs of compromise.
  6. Plan upgrades of end-of-life Ubuntu 14.04 LTS and 16.04 LTS hosts to a supported release.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace salt with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="salt"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="salt"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Questions about CVE-2020-11651

Do I need to patch the minions or only the master?
The flaw is in the salt-master process, so the master must be updated. Minions are at risk because a vulnerable master can be used to run arbitrary commands on them. Update the salt packages on all hosts to keep versions consistent.
Is this vulnerability exploited in practice?
Yes. CISA added CVE-2020-11651 to its Known Exploited Vulnerabilities catalog on 2021-11-03. The required action is to apply updates per vendor instructions. Known ransomware use is listed as unknown.
Why does Ubuntu rate it medium when the CVSS severity is critical?
The facts provide both ratings but give no reason for the difference. Given the network attack vector, the lack of required authentication and the known exploitation, treat exposed salt masters as urgent.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.