CVE-2018-15751
salt: Remote command execution and incorrect access control when using salt-api
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat, Photon OS. Rated lower by Ubuntu (medium).
Description
SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allow remote attackers to bypass authentication and execute arbitrary commands via salt-api(netapi).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | salt | 2018.3.3-2.ph1 |
| pip::GitHub Security Advisory pip | salt | 2017.7.8, 2018.3.3, 2016.11.10 |
| alpine 3.8 | salt | 2018.3.3-r0 |
| debian 9 | salt | 2016.11.2+ds-1+deb9u5 |
| ubuntu 16.04-ESM | salt | 2015.8.8+ds-1ubuntu0.1+esm1 |
| ubuntu 18.04 | salt | 2017.7.4+dfsg1-1ubuntu18.04.2 |
| ubuntu 18.04-ESM | salt | 2017.7.4+dfsg1-1ubuntu18.04.2 |
| ubuntu 19.04 | salt | 2018.3.4~git20180207+dfsg1-1 |
| ubuntu 19.10 | salt | 2018.3.4~git20180207+dfsg1-1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00070.html
- https://access.redhat.com/security/cve/CVE-2018-15751
- https://docs.saltstack.com/en/2017.7/topics/releases/2017.7.8.html
- https://docs.saltstack.com/en/latest/topics/releases/2018.3.3.html
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2018-30.yaml
- https://github.com/saltstack/salt
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2016.11.10.rst#L13
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2017.7.8.rst#L26
All 18 references
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/2018.3.3.rst#L56
- https://groups.google.com/d/msg/salt-users/L9xqcJ0UXxs/qgDj42obBQAJ
- https://groups.google.com/d/msg/salt-users/dimVF7rpphY/jn3Xv3MbBQAJ
- https://lists.debian.org/debian-lts-announce/2020/07/msg00024.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-15751
- https://ubuntu.com/security/notices/USN-4459-1
- https://ubuntu.com/security/notices/USN-4769-1
- https://usn.ubuntu.com/4459-1
- https://usn.ubuntu.com/4459-1/
- https://www.cve.org/CVERecord?id=CVE-2018-15751