{"schemaVersion":3,"id":"CVE-2019-1010259","aliases":["GHSA-h8xp-h3jf-wv4v","PYSEC-2019-119","UBUNTU-CVE-2019-1010259"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2019-07-18T16:33:35.000Z","modified":"2024-08-05T03:07:18.507Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.01898,"percentile":0.79369,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01898},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01898,"percentile":0.79369}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01898,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01898,"percentile":0.79369}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SALTSTACK_SALT","name":"Salt","source":"github","url":"https://github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"ubuntu","product":"salt","name":"salt","label":"salt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/salt","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"salt","name":"salt","label":"salt","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/salt","purlType":"pypi","versions":[{"text":"≥ 2018.3.0, < 2018.3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 2018.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2018.3.0, < 2018.3.4 | < 2018.3.4","eol":null,"hubHref":null},{"vendor":"saltstack","product":"salt","name":"Salt","label":"salt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2018.3, 2019.2 [fixed: 2018.3.4]","noFixRecorded":false,"fixedIn":null}],"versionsText":"2018.3, 2019.2 [fixed: 2018.3.4]","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"salt","label":"Salt","category":"server-app"}},"hubHref":"/vendor/saltstack/salt"},{"vendor":"saltstack","product":"salt_2018","name":"salt 2018","label":"salt_2018","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0","eol":null,"hubHref":"/vendor/saltstack/salt_2018"},{"vendor":"saltstack","product":"salt_2019","name":"salt 2019","label":"salt_2019","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0","eol":null,"hubHref":"/vendor/saltstack/salt_2019"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534","label":"github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB"]},{"url":"https://github.com/ShantonRU/salt/commit/a46c86a987c78e74e87969d8d3b27094e6544b7a","label":"github.com/ShantonRU/salt/commit/a46c86a987c78e74e87969d8d3b27094e6544b7a","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","WEB","FIX"]},{"url":"https://github.com/saltstack/salt/pull/51462","label":"github.com/saltstack/salt/pull/51462","hostname":"github.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory","WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-1010259","label":"nvd.nist.gov/vuln/detail/CVE-2019-1010259","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2019-119.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2019-119.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/saltstack/salt","label":"github.com/saltstack/salt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-h8xp-h3jf-wv4v","label":"github.com/advisories/GHSA-h8xp-h3jf-wv4v","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-1010259","label":"ubuntu.com/security/CVE-2019-1010259","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-1010259","label":"www.cve.org/CVERecord?id=CVE-2019-1010259","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2019-1000033"],"related":[]},"timeline":[{"kind":"published","date":"2019-07-18T16:33:35.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T03:07:18.507Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:18:02.985Z","stale":false,"partial":false}}