CVE-2021-25284 in Debian Linux and 2 more products
An issue was discovered in through SaltStack Salt before 3002.5. salt.modules.cmdmod can log credentials to the info or error log level.
Affects 3 products from 3 vendors. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 10.0 11.0 |
| Fedoraproject | Fedora | 32 33 34 |
| Saltstack | Salt | < 2015.8.10 ≥ 2015.8.11, < 2015.8.13 ≥ 2016.3.0, < 2016.3.4 ≥ 2016.3.5, < 2016.3.6 ≥ 2016.3.7, < 2016.3.8 ≥ 2016.3.9, < 2016.11.3+9 more≥ 2016.11.4, < 2016.11.5 ≥ 2016.11.7, < 2016.11.10 ≥ 2017.5.0, < 2017.7.8 ≥ 2018.2.0, ≤ 2018.3.5 ≥ 2019.2.0, < 2019.2.5 ≥ 2019.2.6, < 2019.2.8 ≥ 3000, < 3000.6 ≥ 3001, < 3001.4 ≥ 3002, < 3002.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in through SaltStack Salt before 3002.5. salt.modules.cmdmod can log credentials to the info or error log level.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-25284 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-252234-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| Published | 2021-02-27 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-522: CWE-522
CWE-532: CWE-532
Related attack patterns (CAPEC)
CAPEC-102 Session Sidejacking via CWE-522
CAPEC-215 Fuzzing for application mapping via CWE-532
CAPEC-474 Signature Spoofing by Key Theft via CWE-522
CAPEC-509 Kerberoasting via CWE-522
CAPEC-551 Modify Existing Service via CWE-522
Show all 14
CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-522
CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-522
CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-522
CAPEC-50 Password Recovery Exploitation via CWE-522
CAPEC-555 Remote Services with Stolen Credentials via CWE-522
CAPEC-600 Credential Stuffing via CWE-522
CAPEC-652 Use of Known Kerberos Credentials via CWE-522
CAPEC-653 Use of Known Operating System Credentials via CWE-522
CAPEC-560 Use of Known Domain Credentials via CWE-522
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in SaltStack Salt before version 3002.5 allows credentials to be logged at the info or error log level, potentially exposing sensitive information.
An attacker with access to the log files could retrieve credentials that were logged by the salt.modules.cmdmod module.
Questions
What is CVE-2021-25284?
A vulnerability in SaltStack Salt before version 3002.5 allows credentials to be logged at the info or error log level, potentially exposing sensitive information.
What is the CVSS score for CVE-2021-25284?
CVE-2021-25284 has CVSS 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.5%.
Is CVE-2021-25284 actively exploited?
No confirmed active exploitation of CVE-2021-25284 as of 2026-05-30.
How do I remediate CVE-2021-25284?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2021-25284?
CVE-2021-25284 affects Debian Debian Linux; Fedoraproject Fedora; Saltstack Salt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.