CVE-2021-25284
MEDIUM 4.4CVSS 3.1SaltStack Salt Cleartext Storage of Sensitive Information via cmdmod
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
- 27 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-312CWE-522
- Also known as
- GHSA-r55w-xph5-xvx2PYSEC-2021-53
- Sources
- NVDJSONOSV GHSA-r55w-xph5-xvx2JSONOSV PYSEC-2021-53JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 1.9 | AV:L/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
< 2015.8.10 | 2015.8.10 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2015.8.11, < 2015.8.13 | 2015.8.13 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.0, < 2016.3.4 | 2016.3.4 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.5, < 2016.3.6 | 2016.3.6 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.7, < 2016.3.8 | 2016.3.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.3.9, < 2016.11.3 | 2016.11.3 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.11.4, < 2016.11.5 | 2016.11.5 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2016.11.7, < 2016.11.10 | 2016.11.10 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2017.5.0, < 2017.7.8 | 2017.7.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2018.2.0, <= 2018.3.5 | |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2019.2.0, < 2019.2.5 | 2019.2.5 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 2019.2.6, < 2019.2.8 | 2019.2.8 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3000, < 3000.6 | 3000.6 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3001, < 3001.4 | 3001.4 |
| NVD | saltstack | saltcpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* |
>= 3002, < 3002.5 | 3002.5 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | salt | < 2015.8.13 | 2015.8.13 |
| OSV | PyPI | salt | >= 2016.3.0, < 2016.11.5 | 2016.11.5 |
| OSV | PyPI | salt | >= 2016.11.7, < 2016.11.10 | 2016.11.10 |
| OSV | PyPI | salt | >= 2017.5.0, < 2017.7.8 | 2017.7.8 |
| OSV | PyPI | salt | >= 2018.2.0, <= 2018.3.5 | |
| OSV | PyPI | salt | >= 2019.2.0, < 2019.2.8 | 2019.2.8 |
| OSV | PyPI | salt | >= 3000, < 3000.7 | 3000.7 |
| OSV | PyPI | salt | >= 3001, < 3001.5 | 3001.5 |
| OSV | PyPI | salt | >= 3002, < 3002.3 | 3002.3 |
| OSV | PyPI | 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.11.0, < 2016.11.3; >= 2016.11.4, < 2016.11.5; >= 2016.11.7, < 2016.11.10; >= 2017.7.0, < 2017.7.8; >= 2018.3.0rc1, < 2019.2.0rc1; >= 2019.2.0, < 2019.2.5; >= 2019.2.6, < 2019.2.8; >= 3000, < 3000.6; >= 3001, < 3001.4; >= 3002, < 3002.5 | 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.0rc1, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5 |
References
- https://github.com/saltstack/salt/releases · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ · Mailing List, Third Party Advisory, WEB
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202103-01 · Third Party Advisory, WEB, ADVISORY
- https://security.gentoo.org/glsa/202310-22 · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-5011 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25284 · ADVISORY
- 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://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://github.com/advisories/GHSA-r55w-xph5-xvx2 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 27 Feb 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Feb 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)