—
PYSEC-2019-119
Quick fix
PYSEC-2019-119 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=2018.3.4'Details
SaltStack Salt 2018.3, 2019.2 is affected by: SQL Injection. The impact is: An attacker could escalate privileges on MySQL server deployed by cloud provider. It leads to RCE. The component is: The mysql.user_chpass function from the MySQL module for Salt. The attack vector is: specially crafted password string. The fixed version is: 2018.3.4.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534[WEB]
- https://github.com/ShantonRU/salt/commit/a46c86a987c78e74e87969d8d3b27094e6544b7a[FIX]
- https://github.com/saltstack/salt/pull/51462[WEB]
- https://github.com/advisories/GHSA-h8xp-h3jf-wv4v[ADVISORY]