RCE in Saltstack Salt
CVE-2021-3148
An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.082 (94.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 94.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.082 · newest: 0.082 · change: 0.000
Affected products
- Saltstack Salt
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 32, 33, 34
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/saltstack/salt/releases (Third Party Advisory)
- saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202103-01 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2021/11/msg00009.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2021/dsa-5011 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202310-22 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-3148?
- CVE-2021-3148 is a critical-severity vulnerability in Saltstack Salt, classified under Command Injection. CVSS score: 9.8/10. Published 2021-02-27.
- How severe is CVE-2021-3148?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-3148 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.