CVE-2020-25592
salt: salt-netapi improperly validates eauth credentials and tokens
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (medium).
Description
In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.
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.7, 3000.5, 3001.3, 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.7, 3000.5, 3001.3, 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-25592
- https://docs.saltstack.com/en/latest/topics/releases/2019.2.7.html
- https://docs.saltstack.com/en/latest/topics/releases/3000.5.html
- https://docs.saltstack.com/en/latest/topics/releases/3001.3.html
- https://docs.saltstack.com/en/latest/topics/releases/3002.1.html
- https://docs.saltstack.com/en/latest/topics/releases/index.html
All 24 references
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2020-106.yaml
- https://github.com/saltstack/salt
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2019.2.7.rst#L12
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.5.rst#L12
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.3.rst#L12
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.1.rst#L14
- https://lists.debian.org/debian-lts-announce/2020/12/msg00007.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-25592
- https://security.gentoo.org/glsa/202011-13
- https://ubuntu.com/security/notices/USN-6948-1
- https://www.cve.org/CVERecord?id=CVE-2020-25592
- 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/