CVE-2017-5192 SaltStack Salt Authentication Bypass when using the local_batch client from salt-api

High 8.8 Published Updated

Attackers can bypass authentication in SaltStack Salt's local_batch client via salt-api, gaining unauthorized access to the system.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5192?

CVE-2017-5192 is a high-severity authentication bypass vulnerability in Saltstack Salt, published on 26 Sep 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When using the local_batch client from salt-api in SaltStack Salt before 2015.8.13, 2016.3.x before 2016.3.5, and 2016.11.x before 2016.11.2, external authentication is not respected, enabling all authentication to be bypassed.

Weakness: CWE-287

Which versions are affected by CVE-2017-5192?

7 open source packages ship an affected version, including salt. It affects 1 product.

PackageAffectedFixed in
salt PyPIAll versions2015.8.13, 2016.3.5, 2016.11.2
salt PyPIAll versions2015.8.13
salt PyPIAll versions2015.8.13
salt PyPIFrom 2016.11.02016.11.2
salt PyPIFrom 2016.11.02016.11.2
salt PyPIFrom 2016.3.02016.3.5
1 more packages
salt PyPIFrom 2016.3.02016.3.5

Products include Saltstack Salt.

How do I fix CVE-2017-5192?

Upgrade salt to a fixed version for your release line: 2015.8.13, 2016.3.5 or 2016.11.2.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2017-5192 being exploited?

There is no known exploitation of CVE-2017-5192 in the wild and no public exploit code.

All Saltstack Salt vulnerabilities

Sources

Also known as GHSA-f2h7-4f84-8qrm, PYSEC-2017-38, UBUNTU-CVE-2017-5192.

Is CVE-2017-5192 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free