org.elasticsearch:elasticsearch vulnerabilities

Elasticsearch subproject :server

Registry
Maven
Latest
9.5.6
License
Elastic License 2.0

40 known advisories

The latest version, 9.5.6, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.elasticsearch:elasticsearch -DdepVersion=9.5.6 -DforceVersion=true

Is your project on an affected org.elasticsearch:elasticsearch?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for org.elasticsearch:elasticsearch

  • MediumCVE-2024-52979GHSA-mm3m-5497-xggg1 May 2025

    Elasticsearch Uncontrolled Resource Consumption Vulnerability

    Affected
    <7.17.25 · >=8.0.0-alpha1 <8.16.0
    Fixed in
    7.17.25, 8.16.0
  • MediumCVE-2024-52981GHSA-5xm9-x7x4-4j5x8 Apr 2025

    Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion

    Affected
    >=7.17.0 <7.17.24 · >=8.0.0-alpha1 <8.15.1
    Fixed in
    7.17.24, 8.15.1
  • MediumCVE-2024-43709GHSA-jgx4-7v3v-vwfm21 Jan 2025

    Elasticsearch allocation of resources without limits or throttling leads to crash

    Affected
    <7.17.21 · >=8.0.0 <8.13.3
    Fixed in
    7.17.21, 8.13.3
  • MediumCVE-2024-12539GHSA-5mpw-4546-2wcr17 Dec 2024

    Elasticsearch Incorrect Authorization vulnerability

    Affected
    >=8.16.0 <8.16.2
    Fixed in
    8.16.2
  • MediumCVE-2024-23444GHSA-5v8f-xx9m-wj4431 Jul 2024

    Elasticsearch stores private key on disk unencrypted

    Affected
    >=8.0.0-alpha1 <8.13.0 · <7.17.23
    Fixed in
    7.17.23, 8.13.0
  • MediumCVE-2023-49921GHSA-2hjr-vmf3-xwvp26 Jul 2024

    Elasticsearch Insertion of Sensitive Information into Log File

    Affected
    <7.17.16 · >=8.0.0 <8.11.2
    Fixed in
    7.17.16, 8.11.2
  • MediumCVE-2024-37280GHSA-4q22-422g-m4pj13 Jun 2024

    Elasticsearch StackOverflow vulnerability

    Affected
    >=8.13.1 <8.14.0
    Fixed in
    8.14.0
  • MediumCVE-2024-23449GHSA-pw39-f3m5-cxfc29 Mar 2024

    Elasticsearch Uncaught Exception leading to crash

    Affected
    >=8.4.0 <8.11.1
    Fixed in
    8.11.1
  • MediumCVE-2024-23451GHSA-r3hx-qfh5-r9m727 Mar 2024

    Elasticsearch Incorrect Authorization vulnerability

    Affected
    >=8.10.0 <8.13.0
    Fixed in
    8.13.0
  • MediumCVE-2024-23450GHSA-w5gg-2q56-6h4f27 Mar 2024

    Elasticsearch Uncontrolled Resource Consumption vulnerability

    Affected
    >=7.0.0 <7.17.19 · >=8.0.0 <8.13.0
    Fixed in
    7.17.19, 8.13.0
  • MediumCVE-2023-46673GHSA-285m-vhfq-xx4h22 Nov 2023

    Elasticsearch Improper Handling of Exceptional Conditions

    Affected
    >=7.0.0 <7.17.14 · >=8.0.0 <8.10.3
    Fixed in
    7.17.14, 8.10.3
  • HighCVE-2023-31418GHSA-2cqf-6xv9-f22w26 Oct 2023

    Elasticsearch vulnerable to Uncontrolled Resource Consumption

    Affected
    <7.17.13 · >=8.0.0 <8.9.0
    Fixed in
    7.17.13, 8.9.0
  • MediumCVE-2023-31417GHSA-99pc-69q9-jxf226 Oct 2023

    Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs

    Affected
    >=7.0.0 <7.17.13 · >=8.0.0 <8.9.2
    Fixed in
    7.17.13, 8.9.2
  • MediumCVE-2023-31419GHSA-qwrx-45xf-jjf726 Oct 2023

    Elasticsearch vulnerable to stack overflow in the search API

    Affected
    >=7.0.0 <7.17.13 · >=8.0.0 <8.9.1
    Fixed in
    7.17.13, 8.9.1
  • HighCVE-2022-23712GHSA-wh6w-69xc-5rq57 Jun 2022

    Improper Check for Unusual or Exceptional Conditions in Elasticsearch

    Affected
    >=8.0.0 <8.2.1
    Fixed in
    8.2.1
  • MediumCVE-2021-22137GHSA-hr65-qq6p-87r424 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    Affected
    >=7.11.0 <7.11.2 · <6.8.15
    Fixed in
    6.8.15, 7.11.2
  • MediumCVE-2020-7021GHSA-cqgv-256r-m9r824 May 2022

    Insertion of Sensitive Information into Log File in Elasticsearch

    Affected
    <6.8.14 · >=7.0.0 <7.10.0
    Fixed in
    6.8.14, 7.10.0
  • MediumCVE-2020-7019GHSA-c77j-p484-h84m24 May 2022

    Improper privilege management in elasticsearch

    Affected
    >=7.0.0 <7.9.0 · <6.8.12
    Fixed in
    6.8.12, 7.9.0
  • HighCVE-2020-7009GHSA-gfv5-grx2-9jw224 May 2022

    Improper Privilege Management in Elasticsearch

    Affected
    >=6.7.0 <6.8.8 · >=7.0.0 <7.6.2
    Fixed in
    6.8.8, 7.6.2
  • MediumCVE-2019-7619GHSA-hxp8-r9g3-grfr24 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    Affected
    >=6.7.0 <6.8.4 · >=7.0.0 <7.4.0
    Fixed in
    6.8.4, 7.4.0
  • MediumCVE-2019-7614GHSA-jqm6-m3j3-8gg924 May 2022

    Concurrent Execution using Shared Resource with Improper Synchronization in Elasticsearch

    Affected
    <6.8.2 · >=7.0.0 <7.2.1
    Fixed in
    6.8.2, 7.2.1
  • MediumCVE-2015-3337GHSA-x8q8-4hp5-463w17 May 2022

    Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch

    Affected
    <1.4.5 · >=1.5.0 <1.5.2
    Fixed in
    1.4.5, 1.5.2
  • HighCVE-2014-3120GHSA-mrfm-jxgf-2h6v17 May 2022

    Elasticsearch Improper Access Control vulnerability

    Affected
    <1.4.0.Beta1
    Fixed in
    1.4.0.Beta1
  • MediumCVE-2014-6439GHSA-8699-m855-cwqf14 May 2022

    Cross-site scripting in Elasticsearch

    Affected
    <1.4.0.Beta1
    Fixed in
    1.4.0.Beta1
  • HighCVE-2015-1427GHSA-w94p-6mhw-4qxw14 May 2022

    Improper Access Control in Elasticsearch

    Affected
    <1.3.8 · >=1.4.0 <1.4.3
    Fixed in
    1.3.8, 1.4.3
  • HighCVE-2015-4165GHSA-fh5x-4j57-6q5x14 May 2022

    Improper Access Control in Elasticsearch

    Affected
    <1.6.0
    Fixed in
    1.6.0
  • MediumCVE-2015-5531GHSA-jjq8-vfjq-j6v414 May 2022

    Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch

    Affected
    <1.6.1
    Fixed in
    1.6.1
  • MediumCVE-2018-17247GHSA-ccmr-qj26-845g13 May 2022

    Improper Restriction of XML External Entity Reference in Elasticsearch

    Affected
    >=6.5.0 <6.5.2
    Fixed in
    6.5.2
  • MediumCVE-2018-17244GHSA-vpqm-88c4-x4cv13 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    Affected
    >=6.4.0 <6.4.3
    Fixed in
    6.4.3
  • MediumCVE-2018-3824GHSA-mjpc-qx7h-r8c913 May 2022

    Elasticsearch subject to cross site scripting

    Affected
    <5.6.9 · >=6.0.0 <6.2.4
    Fixed in
    5.6.9, 6.2.4
  • HighCVE-2018-3831GHSA-r9fv-qpm9-rj4g13 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    Affected
    >=5.6.0 <5.6.12 · >=6.0.0 <6.4.1
    Fixed in
    5.6.12, 6.4.1
  • HighCVE-2019-7611GHSA-fj32-6v7m-57pg13 May 2022

    Improper Access Control in Elasticsearch

    Affected
    <5.6.15 · >=6.0.0 <6.6.1
    Fixed in
    5.6.15, 6.6.1
  • MediumCVE-2022-23708GHSA-pgq6-ccqj-hpqr4 Mar 2022

    Elasticsearch privilege escalation

    Affected
    >=7.16.0 <7.17.1
    Fixed in
    7.17.1
  • MediumCVE-2021-22147GHSA-45h5-r968-5xr720 Sept 2021

    Exposure of sensitive information in Elasticsearch

    Affected
    >=7.11.0 <7.14.0
    Fixed in
    7.14.0
  • MediumCVE-2021-22144GHSA-3393-hvrj-w7v39 Aug 2021

    Denial of Service in Elasticsearch

    Affected
    <6.8.17 · >=7.0.0-alpha1 <7.13.3
    Fixed in
    6.8.17, 7.13.3
  • MediumCVE-2021-22135GHSA-62ww-4p3p-7fhj2 Jul 2021

    API information disclosure flaw in Elasticsearch

    Affected
    >=7.0.0 <7.11.2 · <6.8.15
    Fixed in
    6.8.15, 7.11.2
  • MediumCVE-2021-22132GHSA-5fvx-2jj3-6mff18 Mar 2021

    Insufficiently Protected Credentials in Elasticsearch

    Affected
    >=7.7.0 <7.10.2
    Fixed in
    7.10.2
  • MediumCVE-2020-7014GHSA-hqqv-9x3v-mp7w18 Mar 2021

    Privilege Escalation Flaw in Elasticsearch

    Affected
    >=6.7.0 <6.8.8 · >=7.0.0 <7.6.2
    Fixed in
    6.8.8, 7.6.2
  • LowCVE-2020-7020GHSA-g9fw-9x87-rmrj18 Mar 2021

    Privilege Context Switching Error in Elasticsearch

    Affected
    <6.8.13 · >=7.0.0 <7.9.2
    Fixed in
    6.8.13, 7.9.2
  • MediumCVE-2021-22134GHSA-hwvv-438r-mhvj18 Mar 2021

    Exposure of Sensitive Information to an Unauthorized Actor

    Affected
    >=7.6.0 <7.11.0
    Fixed in
    7.11.0

Is your org.elasticsearch:elasticsearch version vulnerable?

Which of your client projects still run an old org.elasticsearch:elasticsearch?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.