CVE-2021-3148
Critical
Description
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Salt
PublishedFeb 27, 2021
First seenFeb 27, 2021
How to fix
Update
- saltstack salt2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5 or later
- salt2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, 3000.7, 3001.5, 3002.3, 2015.8.10, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2019.2.0rc1, 2019.2.5, 3000.6, 3001.4, 3002.5 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
- security.gentoo.org/glsa/202103-01
- debian.org/security/2021/dsa-5011
- security.gentoo.org/glsa/202310-22
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| saltstack salt | v < 2015.8.10, 2015.8.11 ≤ v < 2015.8.13, 2016.3.0 ≤ v < 2016.3.4, 2016.3.5 ≤ v < 2016.3.6, 2016.3.7 ≤ v < 2016.3.8, 2016.3.9 ≤ v < 2016.11.3, 2016.11.4 ≤ v < 2016.11.5, 2016.11.7 ≤ v < 2016.11.10, 2017.5.0 ≤ v < 2017.7.8, 2018.2.0 ≤ v ≤ 2018.3.5, 2019.2.0 ≤ v < 2019.2.5, 2019.2.6 ≤ v < 2019.2.8, 3000 ≤ v < 3000.6, 3001 ≤ v < 3001.4, 3002 ≤ v < 3002.5 | 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.5, 2019.2.8, 3000.6, 3001.4, 3002.5 |
| fedoraproject fedora | 32, 33, 34 | — |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
| saltPyPI | v < 2015.8.13, 2016.3.0 ≤ v < 2016.11.5, 2016.11.7 ≤ v < 2016.11.10, 2017.5.0 ≤ v < 2017.7.8, 2018.2.0 ≤ v ≤ 2018.3.5, 2019.2.0 ≤ v < 2019.2.8, 3000 ≤ v < 3000.7, 3001 ≤ v < 3001.5, 3002 ≤ v < 3002.3, v < 2015.8.10, 2015.8.11 ≤ v < 2015.8.13, 2016.3.0 ≤ v < 2016.3.4, 2016.3.5 ≤ v < 2016.3.6, 2016.3.7 ≤ v < 2016.3.8, 2016.11.0 ≤ v < 2016.11.3, 2016.11.4 ≤ v < 2016.11.5, 2017.7.0 ≤ v < 2017.7.8, 2018.3.0rc1 ≤ v < 2019.2.0rc1, 2019.2.0 ≤ v < 2019.2.5, 2019.2.6 ≤ v < 2019.2.8, 3000 ≤ v < 3000.6, 3001 ≤ v < 3001.4, 3002 ≤ v < 3002.5 | 2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, 3000.7, 3001.5, 3002.3, 2015.8.10, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2019.2.0rc1, 2019.2.5, 3000.6, 3001.4, 3002.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.