GitHub Advisoryadvisory · PyPI
GHSA-h8xp-h3jf-wv4v SaltStack Salt SQL Injection vulnerability in mysql.user_chpass function
CRITICAL
Official page ↗
- Aliases
- CVE-2019-1010259
- Ecosystem
- PyPI
- Packages
- salt
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2024-04-22
Affected packages
• PyPI salt: >= 2018.3.0, < 2018.3.4 → fixed in 2018.3.4
Description
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.
Related
Alias · CVE (1)
- CVE-2019-1010259 SaltStack Salt 2018.3, 2019.2 is affected by: SQL Injection. vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-1010259 advisory
- https://github.com/saltstack/salt/pull/51462 web
- https://github.com/ShantonRU/salt/commit/a46c86a987c78e74e87969d8d3b27094e6544b7a web
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2019-119.yaml web
- https://github.com/saltstack/salt package
- https://github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534 web