VDB

CVE-2023-34049

CVE-2023-34049 PUBLISHED CVSS 6.7 MEDIUM

Salt security advisory release - 2023-OCT-27

Reported by vmware · Published November 14, 2024

salt is fixed in 3006.4 and 3005.4 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
saltPyPI3006.4, 3005.4
saltsalt_project3006.4, 3005.4
SALTSalt3006.4, 3005.4

Risk scores

CVSS 3.1
6.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
SaltSALT3005, 3004
salt_projectsalt3005, 3004
PyPIsalt0, 3006.0rc1
SaltSALT3005, 3004

Timeline

  • Oct 29, 2023 CVE Published
  • Nov 14, 2024 EPSS Score (30 in total, the first dated here)
  • Nov 14, 2024 PoC Published (2 in total, the first dated here)
  • Nov 14, 2024 CVE Updated
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-34049
vulnetix vdb fixes CVE-2023-34049

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-34049/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›