Vulnerability · Published Nov 14, 2024 · Assigned by vmware

CVE-2023-34049Salt security advisory release - 2023-OCT-27

Medium 6.7

In plain English

A medium-severity security flaw in SALT from Salt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.2%top 89.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIsalt3005.4GHSA-4277-m35q-7c9w
PyPIsalt3006.4GHSA-4277-m35q-7c9w
PyPIsalt3005.4, 3006.4PYSEC-2026-1892
Ubuntu:22.04:LTSsaltno fix listedUBUNTU-CVE-2023-34049

Affected products (as reported)

VendorProductVersions
Salt SALT 3005 – before 3005.43004 – before 3006.4

References