Salt preflight script could be attacker controlled
The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | salt | < 3005.4, >= 3006.0rc1, < 3006.4 | 3005.4, 3006.4 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2023-34049
- https://github.com/saltstack/salt/commit/286d55eb5a6e6bf9428405bdf5632b419bdf8444
- https://github.com/saltstack/salt/commit/7a14112f2a16ce70e3c3e1862c92e37af5f2c7a4
- https://github.com/saltstack/salt
- https://saltproject.io/security-announcements/2023-10-27-advisory
- https://pypi.org/project/salt
- https://github.com/advisories/GHSA-4277-m35q-7c9w
- Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Debilidad (CWE)
CWE-340- Plataforma
- Python (PyPI)
- Paquete
salt- Publicada
- 14.11.2024
- Actualizado
- 11.10.2026 13:19
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1892 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4277-m35q-7c9w - CC BY 4.0
Historial de vulnerabilidades: salt
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 69
- Primera → última
- 11.2013 01.2026
- Sin corrección
- 0
- Explotada en ataques
- 3
Distribución por gravedad
- Crítica 17
- Alta 32
- Media 16
- Baja 2
- Sin evaluar 2
Divulgaciones por año
- 2017: 14
- 2018: 3
- 2019: 1
- 2020: 6
- 2021: 14
- 2022: 6
- 2023: 3
- 2024: 3
- 2025: 9
- 2026: 2
antes: 8
-
Salt preflight script could be attacker controlled esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.