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.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | salt | < 3005.4, >= 3006.0rc1, < 3006.4 | 3005.4, 3006.4 |
Odnośniki
- 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
- Wektor CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H- Słabość (CWE)
CWE-340- Platforma
- Python (PyPI)
- Paczka
salt- Ujawniono
- 14.11.2024
- Aktualizacja
- 11.10.2026 13:19
Źródła i licencje
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
Historia podatności: salt
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 69
- Pierwsza → ostatnia
- 11.2013 01.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 3
Rozkład istotności
- Krytyczna 17
- Wysoka 32
- Średnia 16
- Niska 2
- Nieoceniona 2
Ujawnienia w latach
- 2017: 14
- 2018: 3
- 2019: 1
- 2020: 6
- 2021: 14
- 2022: 6
- 2023: 3
- 2024: 3
- 2025: 9
- 2026: 2
wcześniej: 8
-
Salt preflight script could be attacker controlled ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.