CVE-2019-17361: SaltStack Salt is vulnerable to command injection

CVE-2019-17361 · Severity: low · CVSS 3.1 · Published 2020-01-17

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.

Technologies: salt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2019-17361 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-17361 being exploited in the wild.
How severe is CVE-2019-17361?
Low severity, with a CVSS score of 3.1, published 17 January 2020.
Which products and versions are affected?
salt (PyPI) ECOSYSTEM:introduced=0,fixed=2019.2.1, ECOSYSTEM:introduced=0,fixed=2019.2.3.
Is there a fix for CVE-2019-17361?
Yes. salt (PyPI): upgrade to 2019.2.1, 2019.2.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-17361?
Check whether you run salt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • salt (PyPI): upgrade to 2019.2.1, 2019.2.3 or later
    pip install "salt>=2019.2.3"

Affected products

  • salt (PyPI) ECOSYSTEM:introduced=0,fixed=2019.2.1, ECOSYSTEM:introduced=0,fixed=2019.2.3

Identifiers

  • CVE-2019-17361
  • GHSA-q53j-p6r2-g2v4
  • PYSEC-2020-177

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.