CVE-2023-34049

NameCVE-2023-34049
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1055179

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
salt (PTS)jessie, jessie (lts)2014.1.13+ds-3+deb8u2vulnerable
stretch (security), stretch (lts), stretch2016.11.2+ds-1+deb9u10vulnerable
buster (security), buster, buster (lts)2018.3.4+dfsg1-6+deb10u3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
saltsourcejessie(unfixed)end-of-life
saltsourcestretch(unfixed)end-of-life
saltsourcebuster(unfixed)end-of-life
saltsource(unstable)(unfixed)1055179

Notes

[buster] - salt <end-of-life> (EOL in buster LTS)
https://saltproject.io/security-announcements/2023-10-27-advisory/index.html

Search for package or bug name: Reporting problems