{"id":"CVE-2017-8438","state":"PUBLISHED","title":"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","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 not happen.","publishedAt":"2017-06-05T14:00:00.000Z","updatedAt":"2024-08-05T16:34:22.961Z","severity":null,"assigner":"elastic","products":["Elastic X-Pack Security"],"affected":[{"vendor":"Elastic","product":"X-Pack Security","versions":[{"version":"5.0.0 to 5.4.0","status":"affected"}]}],"references":["https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952","https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released","https://www.elastic.co/community/security"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T19:43:57.959Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/8xxx/CVE-2017-8438.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-8438","state":"PUBLISHED","datePublished":"2017-06-05T14:00:00.000Z","dateUpdated":"2024-08-05T16:34:22.961Z","assignerShortName":"elastic","assignerOrgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateReserved":"2017-05-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Elastic","product":"X-Pack Security","versions":[{"version":"5.0.0 to 5.4.0","status":"affected"}]}],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952","tags":["x_refsource_CONFIRM"]},{"url":"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released","tags":["x_refsource_CONFIRM"]},{"url":"https://www.elastic.co/community/security","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","description":"CWE-284: Improper Access Control","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"elastic","dateUpdated":"2017-06-05T13:57:01.000Z","orgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a"},"datePublic":"2017-06-01T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@elastic.co","ID":"CVE-2017-8438","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"X-Pack Security","version":{"version_data":[{"version_value":"5.0.0 to 5.4.0"}]}}]},"vendor_name":"Elastic"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-284: Improper Access Control"}]}]},"references":{"reference_data":[{"name":"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952","refsource":"CONFIRM","url":"https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952"},{"name":"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released","refsource":"CONFIRM","url":"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released"},{"name":"https://www.elastic.co/community/security","refsource":"CONFIRM","url":"https://www.elastic.co/community/security"}]}}},"adp":[{"title":"CVE Program Container","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"]},{"url":"https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.elastic.co/community/security","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T16:34:22.961Z"}}]}}}