Vulnerability · Published Feb 27, 2021 · Assigned by mitre
CVE-2020-28243
High 7.8
In plain English
A high-severity security flaw in the salt package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.3% (higher than 91% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)4.3%top 8.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | salt | 2015.8.13 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 2016.11.5 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 2016.11.10 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 2017.7.8 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | no fix listed | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 2019.2.8 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 3000.7 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 3001.5 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 3002.3 | GHSA-phhw-3wc9-8q75 |
| PyPI | salt | 2015.8.10, 2015.8.13, 2016.11.10, 2016.11.3, 2016.11.5, 2016.3.4, 2016.3.6, 2016.3.8, 2017.7.8, 2019.2.0rc1, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5 | PYSEC-2021-73 |
Affected products (as reported)
References
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/
- https://github.com/stealthcopter/CVE-2020-28243
- https://sec.stealthcopter.com/cve-2020-28243/
- 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