GitHub Advisory Database
GHSA-29j3-2446-5j4w
SaltStack Salt Improper Validation of eauth credentials and tokens in salt-netapi
Details
In SaltStack the salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | All versions before 2015.8.13 (fixed in 2015.8.13) |
| PyPI | salt | From 2016.3.0 before 2016.3.8 (fixed in 2016.3.8) |
| PyPI | salt | From 2016.11.0 before 2016.11.10 (fixed in 2016.11.10) |
| PyPI | salt | From 2017.5.0 before 2017.7.8 (fixed in 2017.7.8) |
| PyPI | salt | From 2018.2.0 before 2018.3.5 (fixed in 2018.3.5) |
| PyPI | salt | From 2019.2.0 before 2019.2.7 (fixed in 2019.2.7) |
| PyPI | salt | From 3000.0 before 3000.5 (fixed in 3000.5) |
| PyPI | salt | From 3001.0 before 3001.3 (fixed in 3001.3) |
| PyPI | salt | From 3002.0 before 3002.1 (fixed in 3002.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-25592
- https://docs.saltstack.com/en/latest/topics/releases/index.html
- 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/[email protected]/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA
- https://security.gentoo.org/glsa/202011-13
- https://www.debian.org/security/2021/dsa-4837
- https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
- http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html