HIGH
salt: Privilege escalation on a minion when an unprivileged user is able to create files in any non-blacklisted directory
Published Feb 27, 2021
7.8
HIGHCVSS 3.1
EPSS 4.30%
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 products
No data.
Configuration 1
OR
- < 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
- ≥ 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
Configuration 2
OR
- 32
- 33
- 34
Configuration 3
OR
- 9.0
- 10.0
- 11.0
No data.
Red Hat Ceph Storage 2
salt
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 2 | salt | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Salt has been deprecated as of Red Hat Ceph Storage 2.5, as Salt was used to install RHSCON-2 and RHSCON-2 has reached End Of Life.
Weaknesses (2)
References (23)
- https://access.redhat.com/security/cve/CVE-2020-28243 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1933350 Issue Tracking
- https://github.com/advisories/GHSA-phhw-3wc9-8q75 Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-73.yaml
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L12
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L12
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L12
- https://github.com/stealthcopter/CVE-2020-28243 ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html mailing-listMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html mailing-listMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB vendor-advisoryMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH vendor-advisoryMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5 vendor-advisoryMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5
- https://nvd.nist.gov/vuln/detail/CVE-2020-28243
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25 Vendor Advisory
- https://sec.stealthcopter.com/cve-2020-28243 ExploitThird Party Advisory
- https://security.gentoo.org/glsa/202103-01 vendor-advisoryThird Party Advisory
- https://security.gentoo.org/glsa/202310-22 vendor-advisoryThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2020-28243
- https://www.debian.org/security/2021/dsa-5011 vendor-advisoryThird Party Advisory
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Feb 27, 2021
Updated Aug 4, 2024
Reserved Nov 6, 2020
Link CVE-2020-28243
CISA Vulnrichment
GHSA-PHHW-3WC9-8Q75 Updated n/a