CVE-2021-25284

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

Published: 2021-02-27 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-25284 is rated Low Risk (18.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-25284

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.08% 0.02% -0.06%
2 2025-11-18 0.05% 0.08% +0.03%
3 2023-03-07 0.05%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-25284

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.4 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
0.8 3.6 [email protected]
1.9 2.0 LOW
AV:L/AC:M/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
3.4 2.9 [email protected]

Weakness enumeration for CVE-2021-25284

GitHub Security Advisory for CVE-2021-25284

GHSA-r55w-xph5-xvx2 · Severity: medium · Ecosystem: pip — SaltStack Salt Cleartext Storage of Sensitive Information via cmdmod

OS Trackers for CVE-2021-25284

vendor priority summary link
alpine CVE-2021-25284: 1 source package rows (salt); 6 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 6. https://security.alpinelinux.org/vuln/CVE-2021-25284
gentoo high CVE-2021-25284: 2 GLSA(s) (202103-01, 202310-22), 1 atom(s) (app-admin/salt); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-25284
redhat medium https://access.redhat.com/security/cve/CVE-2021-25284
suse critical CVE-2021-25284 severity critical: SUSE including 156 source package names (py26-compat-salt, py26-compat-salt-2016.11.10-10.22.1, …), 417 product×package rows across 59 product lines (Image SLES12-SP5-Azure-BYOS, Image SLES12-SP5-Azure-HPC-BYOS, … (59 product lines)): Fixed 375, Known Not Affected 42. https://www.suse.com/security/cve/CVE-2021-25284/
ubuntu medium CVE-2021-25284 medium priority: Ubuntu including 1 source packages (salt), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 7, ignored 5, not-affected 2, released 2. https://ubuntu.com/security/CVE-2021-25284

Affected software / configurations for CVE-2021-25284

Vendor Product Version Raw CPE
saltstack salt < 2015.8.10 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2015.8.11, < 2015.8.13 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.0, < 2016.3.4 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.5, < 2016.3.6 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.7, < 2016.3.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.9, < 2016.11.3 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.11.4, < 2016.11.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.11.7, < 2016.11.10 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2017.5.0, < 2017.7.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2018.2.0, <= 2018.3.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2019.2.0, < 2019.2.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2019.2.6, < 2019.2.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3000, < 3000.6 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3001, < 3001.4 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3002, < 3002.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References for CVE-2021-25284

URL Tags
https://github.com/saltstack/salt/releases Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ Mailing List Third Party Advisory
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ Vendor Advisory
https://security.gentoo.org/glsa/202103-01 Third Party Advisory
https://security.gentoo.org/glsa/202310-22 Third Party Advisory
https://www.debian.org/security/2021/dsa-5011 Third Party Advisory
cvelogic Threat Intelligence