CVE-2020-16846SaltStack Salt Shell Injection Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
99.6%
99.6% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Nov 2021.
US federal deadline to fix: 3 May 2022.
Official description
An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Nov 2021.
US federal agencies must fix it by 3 May 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running SaltStack Salt, Debian Linux, fedoraproject Fedora, opensuse Leap and compare its version with the affected versions.
Update to a fixed version
- Update Salt to 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| SaltStack Salt | < 2015.8.10 · ≥ 2015.8.11, < 2015.8.13 · ≥ 2016.3.0, < 2016.3.4 · ≥ 2016.3.5, < 2016.3.6 · ≥ 2016.3.7, < 2016.3.8 · ≥ 2016.11.0, < 2016.11.3 |
| Debian Debian Linux | 9.0 · 10.0 |
| fedoraproject Fedora | 31 |
| opensuse Leap | 15.1 |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2020-16846 being exploited?
Yes. CISA added CVE-2020-16846 to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2020-16846?
CVE-2020-16846 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Saltstack Salt (< 2015.8.10; ≥ 2015.8.11, < 2015.8.13; ≥ 2016.3.0, < 2016.3.4; ≥ 2016.3.5, < 2016.3.6; ≥ 2016.3.7, < 2016.3.8; ≥ 2016.11.0, < 2016.11.3), Debian Debian Linux (9.0; 10.0), Fedoraproject Fedora (31), Opensuse Leap (15.1)
Is there a patch for CVE-2020-16846?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/(Broken Link, Vendor Advisory)
- packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html(Exploit, Third Party Advisory, VDB Entry)
- lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html(Mailing List, Third Party Advisory)
- github.com/saltstack/salt/releases(Release Notes)
- lists.debian.org/debian-lts-announce/2020/12/msg00007.html(Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/01/msg00000.html(Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/(Release Notes)
- security.gentoo.org/glsa/202011-13(Third Party Advisory)
- www.debian.org/security/2021/dsa-4837(Mailing List, Third Party Advisory)
- www.zerodayinitiative.com/advisories/ZDI-20-1379/(Third Party Advisory, VDB Entry)
- www.zerodayinitiative.com/advisories/ZDI-20-1380/(Third Party Advisory, VDB Entry)
- www.zerodayinitiative.com/advisories/ZDI-20-1381/(Third Party Advisory, VDB Entry)
- www.zerodayinitiative.com/advisories/ZDI-20-1382/(Third Party Advisory, VDB Entry)
- www.zerodayinitiative.com/advisories/ZDI-20-1383/(Third Party Advisory, VDB Entry)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.