CVE-2019-17361: Command Injection

Published Jan 17, 2020
·
Updated

In SaltStack Salt before 2019.2.3, 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.

Other sources

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.

Launchpad

Affected Software

9 affected componentsFixes available
debian/salt<=2016.11.2+ds-1+deb9u2, <=2018.3.4+dfsg1-7, <=2018.3.4+dfsg1-6, <=2016.11.2+ds-1
2019.2.3+dfsg1-12018.3.4+dfsg1-6+deb10u12016.11.2+ds-1+deb9u3
debian/salt
pip/salt<2019.2.3
2019.2.3
SaltStack Salt<=2019.2.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
openSUSE Leap=15.1
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/salt to a version that resolves this vulnerability.

    Fixed in 2019.2.3+dfsg1-1Fixed in 2018.3.4+dfsg1-6+deb10u1Fixed in 2016.11.2+ds-1+deb9u3
  2. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 2019.2.3
  3. Upgrade

    Upgrade SaltStack Salt (salt-api NET API with ssh client enabled) to a version that resolves this vulnerability.

    Fixed in 2019.2.3
  4. Configuration

    Disable the ssh client in the salt-api NET API if it is enabled, to avoid the command injection path.

    salt-api (NET API) ssh client enabled = disable

Event History

Jan 17, 2020
CVE Published
via MITRE·01:16 AM
Data Sourced
via MITRE·01:16 AM
Description
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
via GitHub·05:06 PM
Jan 11, 2024
Data Sourced
via Launchpad·11:23 PM
Description
Aug 29, 2025
Data Sourced
via Ubuntu·12:07 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-17361?

CVE-2019-17361 is a vulnerability in SaltStack Salt through 2019.2.0 that allows an unauthenticated attacker to execute arbitrary code on the salt-api host.

2

How severe is CVE-2019-17361?

CVE-2019-17361 has a severity rating of 9.8 (critical).

3

Which software versions are affected by CVE-2019-17361?

SaltStack Salt versions 2019.2.0 and below are affected by CVE-2019-17361.

4

How can I fix CVE-2019-17361?

To fix CVE-2019-17361, upgrade to SaltStack Salt version 2019.2.3 or apply the relevant patches provided by the vendor.

5

Where can I find more information about CVE-2019-17361?

You can find more information about CVE-2019-17361 in the official SaltStack documentation, SaltStack GitHub repository, and the opensuse-security-announce mailing list.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203