Advisory

GHSA-h8xp-h3jf-wv4v

Also known as: CVE-2019-1010259, PYSEC-2019-119

Summary

SaltStack Salt SQL Injection vulnerability in mysql.user_chpass function

Details

SaltStack Salt 2018.3 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 (https://github.com/saltstack/salt/blob/develop/salt/modules/mysql.py#L1462). The attack vector is: specially crafted password string. The fixed version is: 2018.3.4.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 16:50 UTC
Modified
2024-10-25 20:25 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 2018.3.0, fixed 2018.3.4 (ecosystem)

Fixed versions

2018.3.4

Fix

  • Fixed version 2018.3.4
    pip install --upgrade salt==2018.3.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences