CVE-2020-16846
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.
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: 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 | Fix pending | 2017.7.4+dfsg1-1ubuntu18.04.2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-16846 |
| Ubuntu 16.04 | salt | Fix pending | 2015.8.8+ds-1ubuntu0.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2020-16846 |
| Ubuntu 14.04 | salt | Fix pending | 0.17.5+ds-1ubuntu0.1~esm4 (Ubuntu Pro) | UBUNTU-CVE-2020-16846 |
| Alpine Linux 3.24 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.23 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.22 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.21 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.20 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.19 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.18 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.17 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.16 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.15 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.14 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| Alpine Linux 3.13 | salt | Fixed | 3002-r1 | ALPINE-CVE-2020-16846 |
| PyPI library | salt | Fixed | 2018.3.5 | GHSA-qr38-h96j-2j3w |
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:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html (vendor-advisory)
- https://security.gentoo.org/glsa/202011-13 (vendor-advisory)
- https://www.debian.org/security/2021/dsa-4837 (vendor-advisory)
References
- https://github.com/saltstack/salt/releases
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
- https://security.gentoo.org/glsa/202011-13
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382/
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html
- https://www.debian.org/security/2021/dsa-4837
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html
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.