CVE-2020-25592: Input Validation
In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.
Other sources
In SaltStack the salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.
— GitHub
Properly validate eauth credentials and tokens along with their Access Control Lists – ACLs. Prior to this change, eauth was not properly validated when calling Salt SSH via the salt-api. Any value for “eauth” or “token” would allow a user to bypass authentication and make calls to Salt SSH.
— Salt Project
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3002.1 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3001.3 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3000.5 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2019.2.7 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2018.3.5 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2017.7.8 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2016.11.10 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2016.3.8 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2015.8.13 - Upgrade
Upgrade
alpine/saltto a version that resolves this vulnerability.Fixed in 3002-r1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3002Fixed in 3001.1, 3001.2Fixed in 3000.3, 3000.4Fixed in 2019.2.5, 2019.2.6Fixed in 2018.3.5Fixed in 2017.7.4, 2017.7.8Fixed in 2016.11.3, 2016.11.6, 2016.11.10Fixed in 2016.3.4, 2016.3.6, 2016.3.8Fixed in 2015.8.10, 2015.8.13Fixed in 3002.xFixed in 3001.xFixed in 3000.xFixed in 2019.x - Operational
Restart Salt-API after installing the patch.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2020-25592?
CVE-2020-25592 is a vulnerability in SaltStack Salt that allows an attacker to bypass authentication and invoke Salt SSH.
What is the severity of CVE-2020-25592?
CVE-2020-25592 has a severity rating of 9.8 / 10, which is considered critical.
Which versions of SaltStack Salt are affected by CVE-2020-25592?
SaltStack Salt versions 2018.3.4+dfsg1-6+deb10u3, 3002.6+dfsg1-4+deb11u1, and 3004.1+dfsg-2.2 are affected by CVE-2020-25592.
How can an attacker exploit CVE-2020-25592?
An attacker can exploit CVE-2020-25592 by bypassing authentication and invoking Salt SSH.
Are there any remedies available for CVE-2020-25592?
Yes, SaltStack has released fixes for CVE-2020-25592. Please refer to the official SaltStack documentation for more information on how to apply the fixes.