# CVE-2021-25284: SaltStack Salt Cleartext Storage of Sensitive Information via cmdmod

- Severity: Medium 4.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2021-02-27T00:00:00.000Z
- Modified: 2026-06-17T03:41:46.027Z
- Also known as: GHSA-r55w-xph5-xvx2, PYSEC-2021-53
- Weaknesses: CWE-312, CWE-522, CWE-532
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- salt (PyPI): before 2015.8.13; from 2016.3.0 before 2016.11.5; from 2016.11.7 before 2016.11.10; from 2017.5.0 before 2017.7.8; from 2018.2.0 up to 2018.3.5; from 2019.2.0 before 2019.2.8; from 3000 before 3000.7; from 3001 before 3001.5; from 3002 before 3002.3; before 2015.8.10; from 2015.8.11 before 2015.8.13; from 2016.3.0 before 2016.3.4; and 11 more
- saltstack salt: before 2015.8.10; from 2015.8.11 before 2015.8.13; from 2016.3.0 before 2016.3.4; from 2016.3.5 before 2016.3.6; from 2016.3.7 before 2016.3.8; from 2016.3.9 before 2016.11.3; from 2016.11.4 before 2016.11.5; from 2016.11.7 before 2016.11.10; from 2017.5.0 before 2017.7.8; from 2018.2.0 up to 2018.3.5; from 2019.2.0 before 2019.2.5; from 2019.2.6 before 2019.2.8; and 3 more
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/saltstack/salt/releases> (third-party-advisory, web)
- <https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202103-01> (advisory, third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2021/dsa-5011> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html> (mailing-list, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202310-22> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25284> (advisory)
- <https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L37> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L37> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L37> (web)
- <https://github.com/saltstack/salt> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-53.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/> (web)
- <https://github.com/advisories/GHSA-r55w-xph5-xvx2> (advisory)

## Sources

- CVE List: [CVE-2021-25284](https://www.cve.org/CVERecord?id=CVE-2021-25284), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-r55w-xph5-xvx2](https://github.com/advisories/GHSA-r55w-xph5-xvx2), CC-BY-4.0, modified 2024-10-23
- NVD: [CVE-2021-25284](https://nvd.nist.gov/vuln/detail/CVE-2021-25284), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-53](https://osv.dev/vulnerability/PYSEC-2021-53), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-25284 · Whole record: https://cve.day/CVE-2021-25284.json · Rebuilt by cve.day 2026-11-25T22:58:00.094Z
