# CVE-2021-3148

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 8% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-02-27 · Modified: 2024-08-03
- Aliases: GHSA-ghc2-hx3w-jqmp, PYSEC-2021-55, UBUNTU-CVE-2021-3148, ALPINE-CVE-2021-3148
- Record: https://cvemate.com/vulnerability/CVE-2021-3148 · JSON: https://cvemate.com/vulnerability/CVE-2021-3148/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 8.345%, percentile 95.102%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine salt (Alpine Linux): ≥ 2015.8.11, \< 3002.5-r0 \| ≥ 3002, \< 3002.5-r0
- ubuntu salt (Ubuntu): \< 2017.7.4+dfsg1-1ubuntu18.04.2+esm1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 32 \| 33 \| 34
- PyPI salt (PyPI): \< 2015.8.13 \| ≥ 2016.3.0, \< 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.8 \| ≥ 3000, \< 3000.7 \| ≥ 3001, \< 3001.5 \| ≥ 3002, \< 3002.3 \| ≥ 3002, \< 3002.5
- saltstack 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.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

## References (first 20 of 31)

- <https://github.com/saltstack/salt/releases>
- <https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/>
- <https://security.gentoo.org/glsa/202103-01>
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html>
- <https://www.debian.org/security/2021/dsa-5011>
- <https://security.gentoo.org/glsa/202310-22>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3148>
- <https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5>
- <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/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB>
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L23>
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L23>
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L23>

---

Data as of 2026-12-05T03:06:32.009Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
