CVE-2021-25284: Medium severity SaltStack Salt vulnerability
An issue was discovered in through SaltStack Salt before 3002.5. salt.modules.cmdmod can log credentials to the info or error log level.
Other sources
An issue was discovered in through SaltStack Salt before 3002.5. salt.modules.cmdmod can log credentials to the info or error log level.
webutils write passwords in cleartext to /var/log/salt/minion
— 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.3 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3001.5 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 3000.7 - Upgrade
Upgrade
pip/saltto a version that resolves this vulnerability.Fixed in 2019.2.8 - 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.11.5 - 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.5-r0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3002.2Fixed in 3001.4Fixed in 3000.6Fixed in 2019.2.8Fixed in 2019.2.5Fixed in 2018.3.5Fixed in 2017.7.8Fixed in 2016.11.10Fixed in 2016.11.6Fixed in 2016.11.5Fixed in 2016.11.3Fixed in 2016.3.8Fixed in 2016.3.6Fixed in 2016.3.4Fixed in 2015.8.13Fixed in 2015.8.10Fixed in 3002.5Fixed in 3001.6Fixed in 3000.8Fixed in 3002.5Fixed in 3001.6Fixed in 3000.8 - Upgrade
Upgrade
SaltStack Saltto a version that resolves this vulnerability.Fixed in 3002.5
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2021-25284?
CVE-2021-25284 is a vulnerability in SaltStack Salt before version 3002.5 that allows the salt.modules.cmdmod module to log credentials to the info or error log level.
What is the severity of CVE-2021-25284?
The severity of CVE-2021-25284 is medium (4.4).
How can I fix CVE-2021-25284?
To fix CVE-2021-25284, update SaltStack Salt to version 3002.5 or later.
Where can I find more information about CVE-2021-25284?
You can find more information about CVE-2021-25284 on the following references: [Reference 1](https://github.com/saltstack/salt/releases), [Reference 2](https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html), [Reference 3](https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html).
What is the CWE of CVE-2021-25284?
The CWE of CVE-2021-25284 is CWE-522 and CWE-532.