Security update for salt

Announcement ID: SUSE-SU-2024:0510-1
Rating: important
References:
Cross-References:
CVSS scores:
  • CVE-2024-22231 ( SUSE ): 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
  • CVE-2024-22232 ( SUSE ): 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Affected Products:
  • Basesystem Module 15-SP5
  • openSUSE Leap 15.5
  • Server Applications Module 15-SP5
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Micro 5.5
  • SUSE Linux Enterprise Real Time 15 SP5
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • Transactional Server Module 15-SP5

An update that solves two vulnerabilities, contains one feature and has four security fixes can now be installed.

Description:

This update for salt fixes the following issues:

Security issues fixed:

  • CVE-2024-22231: Prevent directory traversal when creating syndic cache directory on the master (bsc#1219430)
  • CVE-2024-22232: Prevent directory traversal attacks in the master's serve_file method (bsc#1219431)

Bugs fixed:

  • Ensure that pillar refresh loads beacons from pillar without restart
  • Fix the aptpkg.py unit test failure
  • Prefer unittest.mock to python-mock in test suite
  • Enable "KeepAlive" probes for Salt SSH executions (bsc#1211649)
  • Revert changes to set Salt configured user early in the stack (bsc#1216284)
  • Align behavior of some modules when using salt-call via symlink (bsc#1215963)
  • Fix gitfs "env" and improve cache cleaning (bsc#1193948)
  • Remove python-boto dependency for the python3-salt-testsuite package for Tumbleweed

Special Instructions and Notes:

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.5
    zypper in -t patch SUSE-2024-510=1 openSUSE-SLE-15.5-2024-510=1
  • SUSE Linux Enterprise Micro 5.5
    zypper in -t patch SUSE-SLE-Micro-5.5-2024-510=1
  • Basesystem Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP5-2024-510=1
  • Server Applications Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP5-2024-510=1
  • Transactional Server Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Transactional-Server-15-SP5-2024-510=1

Package List:

  • openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586)
    • salt-ssh-3006.0-150500.4.29.1
    • salt-proxy-3006.0-150500.4.29.1
    • salt-3006.0-150500.4.29.1
    • python3-salt-testsuite-3006.0-150500.4.29.1
    • python3-salt-3006.0-150500.4.29.1
    • salt-syndic-3006.0-150500.4.29.1
    • salt-master-3006.0-150500.4.29.1
    • salt-minion-3006.0-150500.4.29.1
    • salt-standalone-formulas-configuration-3006.0-150500.4.29.1
    • salt-api-3006.0-150500.4.29.1
    • salt-cloud-3006.0-150500.4.29.1
    • salt-doc-3006.0-150500.4.29.1
    • salt-transactional-update-3006.0-150500.4.29.1
  • openSUSE Leap 15.5 (noarch)
    • salt-bash-completion-3006.0-150500.4.29.1
    • salt-fish-completion-3006.0-150500.4.29.1
    • salt-zsh-completion-3006.0-150500.4.29.1
  • SUSE Linux Enterprise Micro 5.5 (aarch64 s390x x86_64)
    • salt-3006.0-150500.4.29.1
    • python3-salt-3006.0-150500.4.29.1
    • salt-minion-3006.0-150500.4.29.1
    • salt-transactional-update-3006.0-150500.4.29.1
  • Basesystem Module 15-SP5 (aarch64 ppc64le s390x x86_64)
    • salt-3006.0-150500.4.29.1
    • python3-salt-3006.0-150500.4.29.1
    • salt-doc-3006.0-150500.4.29.1
    • salt-minion-3006.0-150500.4.29.1
  • Basesystem Module 15-SP5 (noarch)
    • salt-bash-completion-3006.0-150500.4.29.1
    • salt-zsh-completion-3006.0-150500.4.29.1
  • Server Applications Module 15-SP5 (aarch64 ppc64le s390x x86_64)
    • salt-ssh-3006.0-150500.4.29.1
    • salt-proxy-3006.0-150500.4.29.1
    • salt-syndic-3006.0-150500.4.29.1
    • salt-master-3006.0-150500.4.29.1
    • salt-standalone-formulas-configuration-3006.0-150500.4.29.1
    • salt-api-3006.0-150500.4.29.1
    • salt-cloud-3006.0-150500.4.29.1
  • Server Applications Module 15-SP5 (noarch)
    • salt-fish-completion-3006.0-150500.4.29.1
  • Transactional Server Module 15-SP5 (aarch64 ppc64le s390x x86_64)
    • salt-transactional-update-3006.0-150500.4.29.1

References: