CVE-2019-1010259 json
SaltStack Salt SQL Injection vulnerability in mysql.user_chpass function
published 7y ago modified 4mo ago also GHSA-h8xp-h3jf-wv4v , PYSEC-2019-119 , EUVD-2019-0127
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi salt 2018.3.4
- github.com/ShantonRU/salt@a46c86a commit
- github.com/saltstack/salt#51462 pull request
Is CVE-2019-1010259 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.94% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | salt | >=2018.3.0, <2018.3.4 <2018.3.4 |
2018.3.4 |
Affected products
- SaltStack Salt
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/ShantonRU/salt/commit/a46c86a987c78e74e87969d8d3b27094e6544b7a
web, patch, third-party-advisory
-
github.com
/saltstack/salt/pull/51462
web, issue-tracking, patch, third-party-advisory
-
github.com
/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-1010259
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2019-119.yaml
web
-
github.com
/saltstack/salt
package
-
github.com
/advisories/GHSA-h8xp-h3jf-wv4v
advisory
Sources
- CVE List CVE-2019-1010259
- GitHub Advisory GHSA-h8xp-h3jf-wv4v
- NVD CVE-2019-1010259
- OSV PYSEC-2019-119
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.