CVE-2019-18897
SaltStack vulnerability analysis and mitigation

Overview

A UNIX Symbolic Link (Symlink) Following vulnerability (CVE-2019-18897) was discovered in the packaging of salt affecting SUSE Linux Enterprise Server 12, SUSE Linux Enterprise Server 15, and openSUSE Factory. The vulnerability allows local attackers to escalate privileges from user salt to root through the salt-master package (NVD).

Technical details

The vulnerability exists in the %post script of the salt-master package, where a recursive chown operation is performed without properly validating symbolic links. This can be exploited on systems with fs.protected_hardlinks=0. The vulnerability has a CVSS v3.1 base score of 7.8 HIGH (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) according to NVD assessment (NVD).

Impact

The vulnerability allows local attackers to escalate privileges from the salt user to root, potentially gaining complete system access. Additionally, the chown operation can be used for denial of service attacks by making files unavailable to users/daemons (SUSE Bug).

Mitigation and workarounds

The issue has been fixed in updated versions of the salt-master package. The fix prevents user escalation by excluding any possible symlinks at the time of executing chown. Users should update to the patched versions available through their distribution's package manager (OpenSUSE Advisory).

Additional resources


SourceThis report was generated using AI

Related SaltStack vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-22239HIGH8.1
  • PythonPython
  • python311-salt
NoYesJun 13, 2025
CVE-2024-38824HIGH7.5
  • PythonPython
  • salt-transactional-update
NoYesJun 13, 2025
CVE-2025-22240MEDIUM6.3
  • PythonPython
  • salt-api
NoYesJun 13, 2025
CVE-2025-22242MEDIUM5.6
  • PythonPython
  • salt-minion
NoYesJun 13, 2025
CVE-2025-22241MEDIUM5.6
  • PythonPython
  • salt-doc
NoYesJun 13, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management