WaratekVRT Sign in

CVE-2018-17247 Elasticsearch

Affected softwareElasticsearch
Severity5.9 Medium CVSS 3.0 2 scores
Fixed in6.5.2
WeaknessXML external entity (XXE) (CWE-611)
Published20 Dec 2018
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 7 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2018-17247

Upgrade Elasticsearch to 6.5.2 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.9 MEDIUM v3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 5.9 MEDIUM CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.elasticsearch:elasticsearch 6.5.0 6.5.2 unbounded

Products and versions

2 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd elastic elasticsearch generic 6.5.0 · 6.5.1
osv org.elasticsearch elasticsearch generic ≥ 6.5.0 and < 6.5.2

References

URLTags
https://discuss.elastic.co/t/elastic-stack-6-5-2-security-update/159594 WEB
https://www.elastic.co/community/security WEB
http://www.securityfocus.com/bid/106294 WEB

Timeline

Published2018-12-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.