CVE-2020-16846
salt: sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | salt | 2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5, 2019.2.6, 3000.4, 3001.2, 3002.1 |
| alpine 3.13 | salt | 3002-r1 |
| alpine 3.14 | salt | 3002-r1 |
| alpine 3.15 | salt | 3002-r1 |
| alpine 3.16 | salt | 3002-r1 |
| alpine 3.17 | salt | 3002-r1 |
| alpine 3.18 | salt | 3002-r1 |
| alpine 3.19 | salt | 3002-r1 |
| alpine 3.20 | salt | 3002-r1 |
| alpine 3.21 | salt | 3002-r1 |
| alpine 3.22 | salt | 3002-r1 |
| alpine 3.23 | salt | 3002-r1 |
Show all 20 entries from 19 sources
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | salt | 2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5, 2019.2.6, 3000.4, 3001.2, 3002.1 |
| alpine 3.13 | salt | 3002-r1 |
| alpine 3.14 | salt | 3002-r1 |
| alpine 3.15 | salt | 3002-r1 |
| alpine 3.16 | salt | 3002-r1 |
| alpine 3.17 | salt | 3002-r1 |
| alpine 3.18 | salt | 3002-r1 |
| alpine 3.19 | salt | 3002-r1 |
| alpine 3.20 | salt | 3002-r1 |
| alpine 3.21 | salt | 3002-r1 |
| alpine 3.22 | salt | 3002-r1 |
| alpine 3.23 | salt | 3002-r1 |
| alpine 3.24 | salt | 3002-r1 |
| alpine edge | salt | 3002-r1 |
| debian 10 | salt | 2018.3.4+dfsg1-6+deb10u2 |
| debian 9 | salt | 2016.11.2+ds-1+deb9u6 |
| Red Hat | salt | no fix listed |
| Red Hat | salt-minion | no fix listed |
| ubuntu 16.04-ESM | salt | 2015.8.8+ds-1ubuntu0.1+esm2 |
| ubuntu 18.04-ESM | salt | 2017.7.4+dfsg1-1ubuntu18.04.2+esm1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html
- https://access.redhat.com/security/cve/CVE-2020-16846
- https://docs.saltstack.com/en/latest/topics/releases/2019.2.6.html
- https://docs.saltstack.com/en/latest/topics/releases/3000.4.html
- https://docs.saltstack.com/en/latest/topics/releases/3001.2.html
- https://docs.saltstack.com/en/latest/topics/releases/3002.1.html
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-104.yaml
All 38 references
- https://github.com/saltstack/salt
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2019.2.6.rst#L10
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.4.rst#L10
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.2.rst#L10
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.1.rst#L12
- https://github.com/saltstack/salt/releases
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/
- https://nvd.nist.gov/vuln/detail/CVE-2020-16846
- https://security.gentoo.org/glsa/202011-13
- https://ubuntu.com/security/notices/USN-6948-1
- https://ubuntu.com/security/notices/USN-7181-1
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846
- https://www.cve.org/CVERecord?id=CVE-2020-16846
- https://www.debian.org/security/2021/dsa-4837
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379
- https://www.zerodayinitiative.com/advisories/ZDI-20-1379/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380
- https://www.zerodayinitiative.com/advisories/ZDI-20-1380/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381
- https://www.zerodayinitiative.com/advisories/ZDI-20-1381/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382
- https://www.zerodayinitiative.com/advisories/ZDI-20-1382/
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383
- https://www.zerodayinitiative.com/advisories/ZDI-20-1383/