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

Published Oct 27, 2023
·
Updated

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.

Affected Software

3 affected componentsFixes available
pip/salt>=3006.0rc1<3006.4
3006.4
pip/salt<3005.4
3005.4
SaltStack Salt<3005.4, <3006.4
3005.43006.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 3006.4
  2. Upgrade

    Upgrade pip/salt to a version that resolves this vulnerability.

    Fixed in 3005.4
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3005.4Fixed in 3006.4
  4. Upgrade

    Upgrade Salt masters to a version that resolves this vulnerability.

    Fixed in 3005.4
  5. Upgrade

    Upgrade Salt masters to a version that resolves this vulnerability.

    Fixed in 3006.4
  6. Compensating control

    Do not use a predictable path for the copied pre-flight script on the target.

  7. Operational

    Check the return code of the scp command and handle copy failures.

Event History

Oct 27, 2023
CVE Published
via Salt Project·12:00 AM
Data Sourced
via Salt Project·12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 14, 2024
CVE Published
via MITRE·04:13 AM
Data Sourced
via MITRE·04:13 AM
DescriptionSeverity
Data Sourced
via NVD·05:15 AM
DescriptionSeverity
Advisory Published
via GitHub·06:30 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-34049?

CVE-2023-34049 has a high severity level due to the potential for an attacker to run arbitrary scripts on the target system.

2

How do I fix CVE-2023-34049?

To fix CVE-2023-34049, upgrade Salt to version 3005.4 or 3006.4, as these versions contain the necessary security patch.

3

What impact does CVE-2023-34049 have on affected systems?

CVE-2023-34049 allows attackers to execute their scripts on compromised systems, which can lead to unauthorized access or data manipulation.

4

Which versions of Salt are affected by CVE-2023-34049?

CVE-2023-34049 affects Salt versions up to and including 3005.4 and 3006.4.

5

Is CVE-2023-34049 exploitable remotely?

Yes, CVE-2023-34049 is exploitable remotely if the Salt-SSH pre-flight option is enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203