Live threats

All CVEs / Saltstack

CVE-2021-25284Saltstack Salt

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 47
Auth required
Yes
Published
Feb 27, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-522, CWE-532
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

What happens

An issue was discovered in through SaltStack Salt before 3002.5. salt.modules.cmdmod can log credentials to the info or error log level.

Original NVD text.

What to do

  1. Apply the vendor's security update for Salt.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI salt < 2015.8.13 2015.8.13 pip install "salt>=2015.8.13"
PyPI salt ≥ 2016.3.0 < 2016.11.5 2016.11.5 pip install "salt>=2016.11.5"
PyPI salt ≥ 2016.11.7 < 2016.11.10 2016.11.10 pip install "salt>=2016.11.10"
PyPI salt ≥ 2017.5.0 < 2017.7.8 2017.7.8 pip install "salt>=2017.7.8"
PyPI salt ≥ 2018.2.0 ≤ 2018.3.5 no fixed version —
PyPI salt ≥ 2019.2.0 < 2019.2.8 2019.2.8 pip install "salt>=2019.2.8"
PyPI salt ≥ 3000 < 3000.7 3000.7 pip install "salt>=3000.7"
PyPI salt ≥ 3001 < 3001.5 3001.5 pip install "salt>=3001.5"
PyPI salt ≥ 3002 < 3002.3 3002.3 pip install "salt>=3002.3"
PyPI salt < 2015.8.10 2015.8.10 pip install "salt>=2015.8.10"
PyPI salt ≥ 2015.8.11 < 2015.8.13 2015.8.13 pip install "salt>=2015.8.13"
PyPI salt ≥ 2016.3.0 < 2016.3.4 2016.3.4 pip install "salt>=2016.3.4"
PyPI salt ≥ 2016.3.5 < 2016.3.6 2016.3.6 pip install "salt>=2016.3.6"

Per OSV / GitHub Advisories (GHSA-r55w-xph5-xvx2, PYSEC-2021-53). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
saltstacksalt< 2015.8.10
saltstacksalt≥ 2015.8.11 < 2015.8.13
saltstacksalt≥ 2016.3.0 < 2016.3.4
saltstacksalt≥ 2016.3.5 < 2016.3.6
saltstacksalt≥ 2016.3.7 < 2016.3.8
saltstacksalt≥ 2016.3.9 < 2016.11.3
saltstacksalt≥ 2016.11.4 < 2016.11.5
saltstacksalt≥ 2016.11.7 < 2016.11.10
saltstacksalt≥ 2017.5.0 < 2017.7.8
saltstacksalt≥ 2018.2.0 ≤ 2018.3.5
saltstacksalt≥ 2019.2.0 < 2019.2.5
saltstacksalt≥ 2019.2.6 < 2019.2.8
saltstacksalt≥ 3000 < 3000.6
saltstacksalt≥ 3001 < 3001.4
saltstacksalt≥ 3002 < 3002.5
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.