CVE-2020-11651
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2021-11-03). If you run an affected version, patch or mitigate now.
Fixed builds are available from Alpine, PyPI, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | salt | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | salt | Fixed | 2017.7.4+dfsg1-1ubuntu18.04.2 | UBUNTU-CVE-2020-11651 |
| Ubuntu 16.04 | salt | Fixed | 2015.8.8+ds-1ubuntu0.1 | UBUNTU-CVE-2020-11651 |
| Ubuntu 14.04 | salt | Fix pending | 0.17.5+ds-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2020-11651 |
| Alpine Linux 3.24 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.23 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.22 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.21 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.20 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.19 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.18 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.17 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.16 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.15 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.14 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.13 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.12 | salt | Fixed | 3000.2-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.11 | salt | Fixed | 2019.2.4-r0 | ALPINE-CVE-2020-11651 |
| Alpine Linux 3.10 | salt | Fixed | 2019.2.4-r0 | ALPINE-CVE-2020-11651 |
| PyPI library | salt | Fixed | 2019.2.4 | GHSA-pjhf-vpx3-33r3 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00047.html (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4676 (vendor-advisory)
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-salt-2vx54… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00070.html (vendor-advisory)
- https://usn.ubuntu.com/4459-1/ (vendor-advisory)
References
- https://docs.saltstack.com/en/latest/topics/releases/2019.2.4.html
- https://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rst
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00047.html
- http://packetstormsecurity.com/files/157560/Saltstack-3000.1-Remote-Code-Execution.html
- https://www.debian.org/security/2020/dsa-4676
- http://www.vmware.com/security/advisories/VMSA-2020-0009.html
- http://packetstormsecurity.com/files/157678/SaltStack-Salt-Master-Minion-Unauthenticated-Remote-Code-Execution.html
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-salt-2vx545AG
- https://lists.debian.org/debian-lts-announce/2020/05/msg00027.html
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00070.html
- https://usn.ubuntu.com/4459-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.