CVE-2021-3148
Gentoo Linux Security Advisory 202310-22
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Se detectó un problema en SaltStack Salt versiones anteriores a 3002.5. El envío de peticiones web diseñadas a la API de Salt puede resultar en una inyección del comando de la función salt.utils.thin.gen_thin() debido al manejo diferente de las comillas simples y las dobles. Esto está relacionado con el archivo salt/utils/thin.py
It was discovered that Salt incorrectly handled crafted web requests. A remote attacker could possibly use this issue to run arbitrary commands. It was discovered that Salt incorrectly created certificates with weak file permissions. It was discovered that Salt incorrectly handled credential validation. A remote attacker could possibly use this issue to bypass authentication.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-01-14 CVE Reserved
- 2021-02-27 CVE Published
- 2024-08-03 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CAPEC
References (9)
URL | Tag | Source |
---|---|---|
https://github.com/saltstack/salt/releases | Third Party Advisory | |
https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html | Mailing List |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | < 2015.8.10 Search vendor "Saltstack" for product "Salt" and version " < 2015.8.10" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2015.8.11 < 2015.8.13 Search vendor "Saltstack" for product "Salt" and version " >= 2015.8.11 < 2015.8.13" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2016.3.0 < 2016.3.4 Search vendor "Saltstack" for product "Salt" and version " >= 2016.3.0 < 2016.3.4" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2016.3.5 < 2016.3.6 Search vendor "Saltstack" for product "Salt" and version " >= 2016.3.5 < 2016.3.6" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2016.3.7 < 2016.3.8 Search vendor "Saltstack" for product "Salt" and version " >= 2016.3.7 < 2016.3.8" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2016.3.9 < 2016.11.3 Search vendor "Saltstack" for product "Salt" and version " >= 2016.3.9 < 2016.11.3" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2016.11.4 < 2016.11.5 Search vendor "Saltstack" for product "Salt" and version " >= 2016.11.4 < 2016.11.5" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2016.11.7 < 2016.11.10 Search vendor "Saltstack" for product "Salt" and version " >= 2016.11.7 < 2016.11.10" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2017.5.0 < 2017.7.8 Search vendor "Saltstack" for product "Salt" and version " >= 2017.5.0 < 2017.7.8" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2018.2.0 <= 2018.3.5 Search vendor "Saltstack" for product "Salt" and version " >= 2018.2.0 <= 2018.3.5" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2019.2.0 < 2019.2.5 Search vendor "Saltstack" for product "Salt" and version " >= 2019.2.0 < 2019.2.5" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 2019.2.6 < 2019.2.8 Search vendor "Saltstack" for product "Salt" and version " >= 2019.2.6 < 2019.2.8" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 3000 < 3000.6 Search vendor "Saltstack" for product "Salt" and version " >= 3000 < 3000.6" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 3001 < 3001.4 Search vendor "Saltstack" for product "Salt" and version " >= 3001 < 3001.4" | - |
Affected
| ||||||
Saltstack Search vendor "Saltstack" | Salt Search vendor "Saltstack" for product "Salt" | >= 3002 < 3002.5 Search vendor "Saltstack" for product "Salt" and version " >= 3002 < 3002.5" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 32 Search vendor "Fedoraproject" for product "Fedora" and version "32" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 33 Search vendor "Fedoraproject" for product "Fedora" and version "33" | - |
Affected
| ||||||
Fedoraproject Search vendor "Fedoraproject" | Fedora Search vendor "Fedoraproject" for product "Fedora" | 34 Search vendor "Fedoraproject" for product "Fedora" and version "34" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 9.0 Search vendor "Debian" for product "Debian Linux" and version "9.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 11.0 Search vendor "Debian" for product "Debian Linux" and version "11.0" | - |
Affected
|