{"id":"CVE-2018-17247","aliases":["EUVD-2022-3560","GHSA-ccmr-qj26-845g"],"status":"published","title":"Improper Restriction of XML External Entity Reference in Elasticsearch","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01383,"percentile":0.72346,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2018-12-20T22:00:00Z","modified":"2026-10-24T10:30:45Z","fixes":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","fixed_in":["6.5.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.5.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.5.2"}]}],"versions":["6.5.0","6.5.1"]}],"products":[{"vendor":"elastic","product":"elasticsearch"}],"references":[{"url":"http://www.securityfocus.com/bid/106294","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://discuss.elastic.co/t/elastic-stack-6-5-2-security-update/159594","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://www.elastic.co/community/security","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17247","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-ccmr-qj26-845g"}],"sources":{"cve":[{"id":"CVE-2018-17247","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","status":"published","published":"2018-12-20T22:00:00Z","modified":"2024-08-05T10:47:04.127Z","cwes":["CWE-611"],"updated_at":"2026-11-02T14:35:07.354449Z"}],"euvd":[{"id":"EUVD-2022-3560","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","status":"published","published":"2018-12-20T22:00:00Z","modified":"2024-08-05T10:47:04Z","updated_at":"2026-11-03T02:39:38.249306Z"}],"ghsa":[{"id":"GHSA-ccmr-qj26-845g","title":"Improper Restriction of XML External Entity Reference in Elasticsearch","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","status":"published","published":"2022-05-13T01:34:04Z","modified":"2023-01-27T05:02:16Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2018-17247","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","status":"published","published":"2018-12-20T22:29:00.427Z","modified":"2026-06-17T01:45:35.84Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:04:50.99633Z"}],"osv":[{"id":"CVE-2018-17247","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","status":"published","published":"2018-12-20T22:29:00.427Z","modified":"2026-10-24T10:30:45.806967005Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:08.533609Z"},{"id":"GHSA-ccmr-qj26-845g","title":"Improper Restriction of XML External Entity Reference in Elasticsearch","description":"Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.","status":"published","published":"2022-05-13T01:34:04Z","modified":"2023-11-08T04:00:03.960932Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
