CVE-2021-3148Saltstack Salt
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Saltstack · Saltstack Salt Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 75
- CVSS 3.1
- 9.8
- EPSS
- 8.3% probabilidad de explotación en 30 días · percentil 96
- Requiere autenticación
- No
- Publicada
- 27 feb 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-77
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Salt.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | salt |
< 2015.8.13 |
2015.8.13 |
pip install "salt>=2015.8.13" |
| PyPI | salt |
≥ 2016.3.0 < 2016.11.5 |
2016.11.5 |
pip install "salt>=2016.11.5" |
| PyPI | salt |
≥ 2016.11.7 < 2016.11.10 |
2016.11.10 |
pip install "salt>=2016.11.10" |
| PyPI | salt |
≥ 2017.5.0 < 2017.7.8 |
2017.7.8 |
pip install "salt>=2017.7.8" |
| PyPI | salt |
≥ 2018.2.0 ≤ 2018.3.5 |
sin versión corregida | — |
| PyPI | salt |
≥ 2019.2.0 < 2019.2.8 |
2019.2.8 |
pip install "salt>=2019.2.8" |
| PyPI | salt |
≥ 3000 < 3000.7 |
3000.7 |
pip install "salt>=3000.7" |
| PyPI | salt |
≥ 3001 < 3001.5 |
3001.5 |
pip install "salt>=3001.5" |
| PyPI | salt |
≥ 3002 < 3002.3 |
3002.3 |
pip install "salt>=3002.3" |
| PyPI | salt |
< 2015.8.10 |
2015.8.10 |
pip install "salt>=2015.8.10" |
| PyPI | salt |
≥ 2015.8.11 < 2015.8.13 |
2015.8.13 |
pip install "salt>=2015.8.13" |
| PyPI | salt |
≥ 2016.3.0 < 2016.3.4 |
2016.3.4 |
pip install "salt>=2016.3.4" |
| PyPI | salt |
≥ 2016.3.5 < 2016.3.6 |
2016.3.6 |
pip install "salt>=2016.3.6" |
Según OSV / GitHub Advisories (GHSA-ghc2-hx3w-jqmp, PYSEC-2021-55). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| saltstack | salt | < 2015.8.10 |
| saltstack | salt | ≥ 2015.8.11 < 2015.8.13 |
| saltstack | salt | ≥ 2016.3.0 < 2016.3.4 |
| saltstack | salt | ≥ 2016.3.5 < 2016.3.6 |
| saltstack | salt | ≥ 2016.3.7 < 2016.3.8 |
| saltstack | salt | ≥ 2016.3.9 < 2016.11.3 |
| saltstack | salt | ≥ 2016.11.4 < 2016.11.5 |
| saltstack | salt | ≥ 2016.11.7 < 2016.11.10 |
| saltstack | salt | ≥ 2017.5.0 < 2017.7.8 |
| saltstack | salt | ≥ 2018.2.0 ≤ 2018.3.5 |
| saltstack | salt | ≥ 2019.2.0 < 2019.2.5 |
| saltstack | salt | ≥ 2019.2.6 < 2019.2.8 |
| saltstack | salt | ≥ 3000 < 3000.6 |
| saltstack | salt | ≥ 3001 < 3001.4 |
| saltstack | salt | ≥ 3002 < 3002.5 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- saltproject.io Vendor Advisory
- security.gentoo.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory