Skip to content

← Public intelligence

Maven package

org.elasticsearch:elasticsearch

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

40 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.5MavenPublished

    Elasticsearch Uncontrolled Resource Consumption Vulnerability

    CVE-2024-52979 · GHSA-mm3m-5497-xggg

    Affected
    • Maven org.elasticsearch:elasticsearch < 7.17.25; >= 8.0.0-alpha1, < 8.16.0
    Fixed in
    7.17.258.16.0· Vendor fix available
    Issue
    Uncontrolled Resource Consumption in Elasticsearch while evaluating specifically crafted search templates with Mustache functions can lead to Denial of Service by causing the Elasticsearch node to crash.

    Recommended action: Upgrade to 8.16.0 or 7.17.25 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 4.9MavenPublished

    Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion

    CVE-2024-52981 · GHSA-5xm9-x7x4-4j5x

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.17.0, <= 7.17.23; >= 8.0.0-alpha1, <= 8.15.0
    Fixed in
    8.15.17.17.24· Vendor fix available
    Issue
    An issue was discovered in Elasticsearch, where a large recursion using the Well-KnownText formatted string with nested GeometryCollection objects could cause a stackoverflow.

    Recommended action: Upgrade to 8.15.1 or 7.17.24 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 6.5MavenPublished

    Elasticsearch allocation of resources without limits or throttling leads to crash

    CVE-2024-43709 · GHSA-jgx4-7v3v-vwfm

    Affected
    • Maven org.elasticsearch:elasticsearch < 7.17.21; >= 8.0.0, < 8.13.3
    Fixed in
    8.13.37.17.21· Vendor fix available
    Issue
    An allocation of resources without limits or throttling in Elasticsearch can lead to an OutOfMemoryError exception resulting in a crash via a specially crafted query using an SQL function.

    Recommended action: Upgrade to 8.13.3 or 7.17.21 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 6.0MavenPublished

    Elasticsearch Incorrect Authorization vulnerability

    CVE-2024-12539 · GHSA-5mpw-4546-2wcr

    Affected
    • Maven org.elasticsearch:elasticsearch >= 8.16.0, < 8.16.2
    Fixed in
    8.16.2· Vendor fix available
    Issue
    An issue was discovered where improper authorization controls affected certain queries that could allow a malicious actor to circumvent Document Level Security in Elasticsearch and get access to documents that their roles would normally not allow.

    Recommended action: Upgrade to 8.16.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 6.9MavenPublished

    Elasticsearch stores private key on disk unencrypted

    CVE-2024-23444 · GHSA-5v8f-xx9m-wj44

    Affected
    • Maven org.elasticsearch:elasticsearch >= 8.0.0-alpha1, < 8.13.0; < 7.17.23
    Fixed in
    8.13.07.17.23· Vendor fix available
    Issue
    It was discovered by Elastic engineering that when elasticsearch-certutil CLI tool is used with the csr option in order to create a new Certificate Signing Requests, the associated private key that is generated is stored on disk unencrypted even if the --pass parameter is passed in the command invocation.

    Recommended action: Upgrade to 8.13.0 or 7.17.23 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 4.1MavenPublished

    Elasticsearch Insertion of Sensitive Information into Log File

    CVE-2023-49921 · GHSA-2hjr-vmf3-xwvp

    Affected
    • Maven org.elasticsearch:elasticsearch < 7.17.16; >= 8.0.0, < 8.11.2
    Fixed in
    7.17.168.11.2· Vendor fix available
    Issue
    An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. This could lead to raw contents of documents stored in Elasticsearch to be printed in logs. Elastic has released 8.11.2 and 7.17.16 that resolves this issue by removing this excessive logging. This issue only affects users that use Watcher and have a Watch defined that uses the search input and additionally have set the search input’s logger to DEBUG or finer, for example using: org.elasticsearch.xpack.watcher.input.search, org.elasticsearch.xpack.watcher.input, org.elasticsearch.xpack.watcher, or wider, since the loggers are hierarchical.

    Recommended action: Upgrade to 8.11.2 or 7.17.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 4.9MavenPublished

    Elasticsearch StackOverflow vulnerability

    CVE-2024-37280 · GHSA-4q22-422g-m4pj

    Affected
    • Maven org.elasticsearch:elasticsearch >= 8.13.1, < 8.14.0
    Fixed in
    8.14.0· Vendor fix available
    Issue
    A flaw was discovered in Elasticsearch, affecting document ingestion when an index template contains a dynamic field mapping of “passthrough” type. Under certain circumstances, ingesting documents in this index would cause a StackOverflow exception to be thrown and ultimately lead to a Denial of Service. Note that passthrough fields is an experimental feature.

    Recommended action: Upgrade to 8.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Medium, CVSS 4.3MavenPublished

    Elasticsearch Uncaught Exception leading to crash

    CVE-2024-23449 · GHSA-pw39-f3m5-cxfc

    Affected
    • Maven org.elasticsearch:elasticsearch >= 8.4.0, < 8.11.1
    Fixed in
    8.11.1· Vendor fix available
    Issue
    An uncaught exception in Elasticsearch = 8.4.0 and < 8.11.1 occurs when an encrypted PDF is passed to an attachment processor through the REST API. The Elasticsearch ingest node that attempts to parse the PDF file will crash. This does not happen with password-protected PDF files or with unencrypted PDF files.

    Recommended action: Upgrade to 8.11.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Medium, CVSS 4.4MavenPublished

    Elasticsearch Incorrect Authorization vulnerability

    CVE-2024-23451 · GHSA-r3hx-qfh5-r9m7

    Affected
    • Maven org.elasticsearch:elasticsearch >= 8.10.0, < 8.13.0
    Fixed in
    8.13.0· Vendor fix available
    Issue
    Incorrect Authorization issue exists in the API key based security model for Remote Cluster Security, which is currently in Beta, in Elasticsearch 8.10.0 and before 8.13.0. This allows a malicious user with a valid API key for a remote cluster configured to use the new Remote Cluster Security to read arbitrary documents from any index on the remote cluster, and only if they use the Elasticsearch custom transport protocol to issue requests with the target index ID, the shard ID and the document ID. None of Elasticsearch REST API endpoints are affected by this issue.

    Recommended action: Upgrade to 8.13.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. Medium, CVSS 4.9MavenPublished

    Elasticsearch Uncontrolled Resource Consumption vulnerability

    CVE-2024-23450 · GHSA-w5gg-2q56-6h4f

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.19; >= 8.0.0, < 8.13.0
    Fixed in
    7.17.198.13.0· Vendor fix available
    Issue
    A flaw was discovered in Elasticsearch, where processing a document in a deeply nested pipeline on an ingest node could cause the Elasticsearch node to crash.

    Recommended action: Upgrade to 8.13.0 or 7.17.19 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Medium, CVSS 6.5MavenPublished

    Elasticsearch Improper Handling of Exceptional Conditions

    CVE-2023-46673 · GHSA-285m-vhfq-xx4h

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.14; >= 8.0.0, < 8.10.3
    Fixed in
    8.10.37.17.14· Vendor fix available
    Issue
    It was identified that malformed scripts used in the script processor of an Ingest Pipeline could cause an Elasticsearch node to crash when calling the Simulate Pipeline API.

    Recommended action: Upgrade to 8.10.3 or 7.17.14 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. Medium, CVSS 6.5MavenPublished

    Elasticsearch vulnerable to stack overflow in the search API

    CVE-2023-31419 · GHSA-qwrx-45xf-jjf7

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.13; >= 8.0.0, < 8.9.1
    Fixed in
    8.9.17.17.13· Vendor fix available
    Issue
    A flaw was discovered in Elasticsearch affecting the search API that allowed a specially crafted query string to cause a stack overflow and ultimately a denial of service.

    Recommended action: Upgrade to 8.9.1 or 7.17.13 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. High, CVSS 7.5MavenPublished

    Elasticsearch vulnerable to Uncontrolled Resource Consumption

    CVE-2023-31418 · GHSA-2cqf-6xv9-f22w

    Affected
    • Maven org.elasticsearch:elasticsearch < 7.17.13; >= 8.0.0, < 8.9.0
    Fixed in
    8.9.07.17.13· Vendor fix available
    Issue
    An issue has been identified with how Elasticsearch handled incoming requests on the HTTP layer. An unauthenticated user could force an Elasticsearch node to exit with an OutOfMemory error by sending a moderate number of malformed HTTP requests. The issue was identified by Elastic Engineering and we have no indication that the issue is known or that it is being exploited in the wild.

    Recommended action: Upgrade to 8.9.0 or 7.17.13 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. Medium, CVSS 4.1MavenPublished

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

    CVE-2023-31417 · GHSA-99pc-69q9-jxf2

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.17.13; >= 8.0.0, < 8.9.2
    Fixed in
    8.9.27.17.13· Vendor fix available
    Issue
    Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured. The xpack/security APIs have been deprecated in Elasticsearch 7.x and were entirely removed in 8.0.0 and later. The only way for a client to use them in Elasticsearch 8.0.0 and later is to provide the Accept: application/json; compatible-with=7 header. Elasticsearch official clients do not use these deprecated APIs. The list of affected, deprecated APIs, is the following: POST…

    Recommended action: Upgrade to 8.9.2 or 7.17.13 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  15. High, CVSS 7.5MavenPublished

    Improper Check for Unusual or Exceptional Conditions in Elasticsearch

    CVE-2022-23712 · GHSA-wh6w-69xc-5rq5

    Affected
    • Maven org.elasticsearch:elasticsearch >= 8.0.0, < 8.2.1
    Fixed in
    8.2.1· Vendor fix available
    Issue
    A Denial of Service flaw was discovered in Elasticsearch 8.0.0 through 8.2.0. Using this vulnerability, an unauthenticated attacker could forcibly shut down an Elasticsearch node with a specifically formatted network request. Version 8.2.1 contains a patch.

    Recommended action: Upgrade to 8.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. Medium, CVSS 5.3MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    CVE-2021-22137 · GHSA-hr65-qq6p-87r4

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.11.0, <= 7.11.1; <= 6.8.14
    Fixed in
    6.8.157.11.2· Vendor fix available
    Issue
    In Elasticsearch versions before 7.11.2 and 6.8.15 a document disclosure flaw was found when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain cross-cluster search queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.

    Recommended action: Upgrade to 7.11.2 or 6.8.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  17. Medium, CVSS 4.9MavenPublished

    Insertion of Sensitive Information into Log File in Elasticsearch

    CVE-2020-7021 · GHSA-cqgv-256r-m9r8

    Affected
    • Maven org.elasticsearch:elasticsearch <= 6.8.13; >= 7.0.0, <= 7.0.9
    Fixed in
    6.8.147.10.0· Vendor fix available
    Issue
    Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emitrequestbody option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.

    Recommended action: Upgrade to 7.10.0 or 6.8.14 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  18. Medium, CVSS 6.5MavenPublished

    Improper privilege management in elasticsearch

    CVE-2020-7019 · GHSA-c77j-p484-h84m

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.9.0; < 6.8.12
    Fixed in
    7.9.06.8.12· Vendor fix available
    Issue
    In Elasticsearch before 7.9.0 and 6.8.12 a field disclosure flaw was found when running a scrolling search with Field Level Security. If a user runs the same query another more privileged user recently ran, the scrolling search can leak fields that should be hidden. This could result in an attacker gaining additional permissions against a restricted index.

    Recommended action: Upgrade to 7.9.0 or 6.8.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  19. High, CVSS 8.8MavenPublished

    Improper Privilege Management in Elasticsearch

    CVE-2020-7009 · GHSA-gfv5-grx2-9jw2

    Affected
    • Maven org.elasticsearch:elasticsearch >= 6.7.0, <= 6.8.7; >= 7.0.0, <= 7.6.1
    Fixed in
    6.8.87.6.2· Vendor fix available
    Issue
    Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation flaw if an attacker is able to create API keys. An attacker who is able to generate an API key can perform a series of steps that result in an API key being generated with elevated privileges.

    Recommended action: Upgrade to 7.6.2 or 6.8.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  20. Medium, CVSS 5.3MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    CVE-2019-7619 · GHSA-hxp8-r9g3-grfr

    Affected
    • Maven org.elasticsearch:elasticsearch >= 6.7.0, <= 6.8.3; >= 7.0.0, <= 7.3.2
    Fixed in
    7.4.06.8.4· Vendor fix available
    Issue
    Elasticsearch versions 7.0.0-7.3.2 and 6.7.0-6.8.3 contain a username disclosure flaw was found in the API Key service. An unauthenticated attacker could send a specially crafted request and determine if a username exists in the Elasticsearch native realm.

    Recommended action: Upgrade to 7.4.0 or 6.8.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  21. Medium, CVSS 5.9MavenPublished

    Concurrent Execution using Shared Resource with Improper Synchronization in Elasticsearch

    CVE-2019-7614 · GHSA-jqm6-m3j3-8gg9

    Affected
    • Maven org.elasticsearch:elasticsearch < 6.8.2; >= 7.0.0, < 7.2.1
    Fixed in
    6.8.27.2.1· Vendor fix available
    Issue
    A race condition flaw was found in the response headers Elasticsearch versions before 7.2.1 and 6.8.2 returns to a request. On a system with multiple users submitting requests, it could be possible for an attacker to gain access to response header containing sensitive data from another user.

    Recommended action: Upgrade to 7.2.1 or 6.8.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  22. UnratedMavenPublished

    Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch

    CVE-2015-3337 · GHSA-x8q8-4hp5-463w

    Affected
    • Maven org.elasticsearch:elasticsearch <= 1.4.4; >= 1.5.0, <= 1.5.1
    Fixed in
    1.4.51.5.2· Vendor fix available
    Issue
    Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, allows remote attackers to read arbitrary files via unspecified vectors.

    Recommended action: Upgrade to 1.5.2 or 1.4.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  23. High, CVSS 8.1Exploited · CISA KEVMavenPublished

    Elasticsearch Improper Access Control vulnerability

    CVE-2014-3120 · GHSA-mrfm-jxgf-2h6v

    Affected
    • Maven org.elasticsearch:elasticsearch < 1.4.0.Beta1
    Fixed in
    1.4.0.Beta1· Vendor fix available
    Issue
    The default configuration in Elasticsearch before 1.4.0.Beta1 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to search. NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.

    Recommended action: Upgrade to 1.4.0.Beta1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:cisa.gov (1)github.com (2)Source checked Evidence →
  24. UnratedMavenPublished

    Cross-site scripting in Elasticsearch

    CVE-2014-6439 · GHSA-8699-m855-cwqf

    Affected
    • Maven org.elasticsearch:elasticsearch < 1.4.0.Beta1
    Fixed in
    1.4.0.Beta1· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in the CORS functionality in Elasticsearch before 1.4.0.Beta1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

    Recommended action: Upgrade to 1.4.0.Beta1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  25. UnratedExploited · CISA KEVMavenPublished

    Improper Access Control in Elasticsearch

    CVE-2015-1427 · GHSA-w94p-6mhw-4qxw

    Affected
    • Maven org.elasticsearch:elasticsearch <= 1.3.7; >= 1.4.0, <= 1.4.2
    Fixed in
    1.4.31.3.8· Vendor fix available
    Issue
    The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.

    Recommended action: Upgrade to 1.4.3 or 1.3.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:cisa.gov (1)github.com (2)Source checked Evidence →