CVE-2023-34049

Salt security advisory release - 2023-OCT-27

Published Nov 14, 2024 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3190 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.
Github GHSA Github GHSA GHSA-4277-m35q-7c9w Salt preflight script could be attacker controlled
History
Type Values Removed Values Added
First Time appeared Salt Project
Salt Project salt
CPEs cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:*
Vendors & Products Salt Project
Salt Project salt
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Salt security advisory release - 2023-OCT-27
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Nov 14, 2024, 3:20 PM
Reserved
May 25, 2023, 5:21 PM
Status
Deferred
Published
Nov 14, 2024, 5:15 AM
Modified
Jun 17, 2026, 6:02 AM