Skip to main content
← All vulnerabilities
CVE-2023-34049GHSA-4277-M35Q-7C9WPYSEC-2026-1892

Salt security advisory release - 2023-OCT-27

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3005.4, 3006.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • SALT

    From 3005 · fixed in 3005.4; From 3004 · fixed in 3006.4

  • saltPyPI

    fixed in 3005.4

  • saltPyPI

    From 3006.0rc1 · fixed in 3006.4

  • saltPyPI

    fixed in 3005.4; From 3006.0rc1 · fixed in 3006.4

References 1

saltproject.io