CVE-2020-28243
SaltStack Salt command injection via a crafted process name
Reported by mitre · Published February 27, 2021
salt is fixed in 3002.5, 3002.3, 3001.5 and 16 more (PyPI)
An issue was discovered in SaltStack Salt before 3002.5. The minion's restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| salt | PyPI | 3002.5, 3002.3, 3001.5, 3001.4, 3000.7, 3000.6, 2019.2.8, 2019.2.5, 2019.2.0rc1, 2018.3.5, 2017.7.8, 2016.11.10, 2016.11.5, 2016.11.3, 2016.3.8, 2016.3.6, 2016.3.4, 2015.8.13, 2015.8.10 |
| salt | saltstack | 3002.5, 3001.4, 3000.6, 2019.2.8, 2019.2.5, 2018.3.5, 2017.7.8, 2016.11.10, 2016.11.5, 2016.11.3, 2016.3.8, 2016.3.6, 2016.3.4, 2015.8.13, 2015.8.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | salt | 3002, 0, 2016.3.0 |
| n/a | n/a | * |
Timeline
- Feb 26, 2021 CVE Published
- Mar 31, 2021 PoC Published (4 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 22, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-28243
vulnetix vdb fixes CVE-2020-28243
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-28243/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-904a2dbc0c vendor-advisory
- FEDORA-2021-5756fbf8a6 vendor-advisory
- FEDORA-2021-43eb5584ad vendor-advisory
- GLSA-202103-01 vendor-advisory
- [debian-lts-announce] 20211110 [SECURITY] [DLA 2815-1] salt security update mailing-list
- DSA-5011 vendor-advisory
- [debian-lts-announce] 20220103 [SECURITY] [DLA 2480-2] salt regression update mailing-list
- GLSA-202310-22 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-28243 advisory
- https://github.com/advisories/GHSA-phhw-3wc9-8q75 advisory
- https://sec.stealthcopter.com/cve-2020-28243 url
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH url
…and 6 more