{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-8438","id":"CVE-2017-8438","title":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality","description":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will n","descriptionLong":"Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.","published":"2017-06-05T14:00:00.000Z","updated":"2026-06-17T01:26:22.100Z","reserved":"2017-05-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"elastic","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Elastic X-Pack Security"],"affectedProducts":[{"vendor":"Elastic","product":"X-Pack Security","defaultStatus":null,"versions":[{"status":"affected","version":"5.0.0 to 5.4.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-284","CWE-269"],"aliases":[],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"https://www.elastic.co/community/security","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01025,"epssPercentile":0.64221,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-8438","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8438","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-8438","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-8438","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}