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. High, CVSS 7.5MavenPublished

    Improper Access Control in Elasticsearch

    CVE-2015-4165 · GHSA-fh5x-4j57-6q5x

    Affected
    • Maven org.elasticsearch:elasticsearch < 1.6.0
    Fixed in
    1.6.0· Vendor fix available
    Issue
    The snapshot API in Elasticsearch before 1.6.0 when another application exists on the system that can read Lucene files and execute code from them, is accessible by the attacker, and the Java VM on which Elasticsearch is running can write to a location that the other application can read and execute from, allows remote authenticated users to write to and create arbitrary snapshot metadata files, and potentially execute arbitrary code.

    Recommended action: Upgrade to 1.6.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 →
  2. UnratedMavenPublished

    Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch

    CVE-2015-5531 · GHSA-jjq8-vfjq-j6v4

    Affected
    • Maven org.elasticsearch:elasticsearch <= 1.6.0
    Fixed in
    1.6.1· Vendor fix available
    Issue
    Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors related to snapshot API calls.

    Recommended action: Upgrade to 1.6.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 →
  3. Medium, CVSS 6.5MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    CVE-2018-17244 · GHSA-vpqm-88c4-x4cv

    Affected
    • Maven org.elasticsearch:elasticsearch >= 6.4.0, <= 6.4.2
    Fixed in
    6.4.3· Vendor fix available
    Issue
    Elasticsearch Security versions 6.4.0 to 6.4.2 contain an error in the way request headers are applied to requests when using the Active Directory, LDAP, Native, or File realms. A request may receive headers intended for another request if the same username is being authenticated concurrently; when used with run as, this can result in the request running as the incorrect user. This could allow a user to access information that they should not have access to.

    Recommended action: Upgrade to 6.4.3 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 →
  4. Medium, CVSS 5.9MavenPublished

    Improper Restriction of XML External Entity Reference in Elasticsearch

    CVE-2018-17247 · GHSA-ccmr-qj26-845g

    Affected
    • Maven org.elasticsearch:elasticsearch >= 6.5.0, < 6.5.2
    Fixed in
    6.5.2· Vendor fix available
    Issue
    Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's findfilestructure 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.

    Recommended action: Upgrade to 6.5.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.1MavenPublished

    Elasticsearch subject to cross site scripting

    CVE-2018-3824 · GHSA-mjpc-qx7h-r8c9

    Affected
    • Maven org.elasticsearch:elasticsearch < 5.6.9; >= 6.0.0, < 6.2.4
    Fixed in
    6.2.45.6.9· Vendor fix available
    Issue
    X-Pack Machine Learning versions before 6.2.4 and 5.6.9 had a cross-site scripting (XSS) vulnerability. If an attacker is able to inject data into an index that has a ML job running against it, then when another user views the results of the ML job it could allow the attacker to obtain sensitive information from or perform destructive actions on behalf of that other ML user.

    Recommended action: Upgrade to 6.2.4 or 5.6.9 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. High, CVSS 8.8MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch

    CVE-2018-3831 · GHSA-r9fv-qpm9-rj4g

    Affected
    • Maven org.elasticsearch:elasticsearch >= 5.6.0, < 5.6.12; >= 6.0.0, < 6.4.1
    Fixed in
    6.4.15.6.12· Vendor fix available
    Issue
    Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secrets are configured via the API. The Elasticsearch cluster/settings API, when queried, could leak sensitive configuration information such as passwords, tokens, or usernames. This could allow an authenticated Elasticsearch user to improperly view these details.

    Recommended action: Upgrade to 6.4.1 or 5.6.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 →
  7. High, CVSS 8.1MavenPublished

    Improper Access Control in Elasticsearch

    CVE-2019-7611 · GHSA-fj32-6v7m-57pg

    Affected
    • Maven org.elasticsearch:elasticsearch < 5.6.15; >= 6.0.0, < 6.6.1
    Fixed in
    5.6.156.6.1· Vendor fix available
    Issue
    A permission issue was found in Elasticsearch versions before 5.6.15 and 6.6.1 when Field Level Security and Document Level Security are disabled and the aliases, shrink, or split endpoints are used . If the elasticsearch.yml file has xpack.security.dlsfls.enabled set to false, certain permission checks are skipped when users perform one of the actions mentioned above, to make existing data available under a new index/alias name. This could result in an attacker gaining additional permissions against a restricted index.

    Recommended action: Upgrade to 6.6.1 or 5.6.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 →
  8. Medium, CVSS 4.3MavenPublished

    Elasticsearch privilege escalation

    CVE-2022-23708 · GHSA-pgq6-ccqj-hpqr

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.16.0, < 7.17.1
    Fixed in
    7.17.1· Vendor fix available
    Issue
    A flaw was discovered in Elasticsearch 7.17.0’s upgrade assistant, in which upgrading from version 6.x to 7.x would disable the in-built protections on the security index, allowing authenticated users with “” index permissions access to this index. Users running a cluster on an affected version that had previously been upgraded from 6.x, should upgrade to 7.17.1. Users that are planning to upgrade from 6.x should not perform an upgrade from 6.x to versions 7.16 through 7.17.0 and should use 7.17.1+ for upgrades from 6.x.

    Recommended action: Upgrade to 7.17.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 6.5MavenPublished

    Exposure of sensitive information in Elasticsearch

    CVE-2021-22147 · GHSA-45h5-r968-5xr7

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.11.0, < 7.14.0
    Fixed in
    7.14.0· Vendor fix available
    Issue
    A flaw was discovered in Elasticsearch where document and field level security was not applied to searchable snapshots. This could lead to an authenticated user gaining access to information that they are unauthorized to view.

    Recommended action: Upgrade to 7.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 →
  10. Medium, CVSS 5.7MavenPublished

    Denial of Service in Elasticsearch

    CVE-2021-22144 · GHSA-3393-hvrj-w7v3

    Affected
    • Maven org.elasticsearch:elasticsearch < 6.8.17; >= 7.0.0-alpha1, < 7.13.3
    Fixed in
    6.8.177.13.3· Vendor fix available
    Issue
    In Elasticsearch versions before 7.13.3 and 6.8.17 an uncontrolled recursion vulnerability that could lead to a denial of service attack was identified in the Elasticsearch Grok parser. A user with the ability to submit arbitrary queries to Elasticsearch could create a malicious Grok query that will crash the Elasticsearch node.

    Recommended action: Upgrade to 7.13.3 or 6.8.17 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 5.3MavenPublished

    API information disclosure flaw in Elasticsearch

    CVE-2021-22135 · GHSA-62ww-4p3p-7fhj

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.0.0, < 7.11.2; < 6.8.15
    Fixed in
    6.8.157.11.2· Vendor fix available
    Issue
    Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.

    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 →
  12. Medium, CVSS 4.8MavenPublished

    Insufficiently Protected Credentials in Elasticsearch

    CVE-2021-22132 · GHSA-5fvx-2jj3-6mff

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.7.0, < 7.10.2
    Fixed in
    7.10.2· Vendor fix available
    Issue
    Elasticsearch versions 7.7.0 to 7.10.1 contain an information disclosure flaw in the async search API. Users who execute an async search will improperly store the HTTP headers. An Elasticsearch user with the ability to read the .tasks index could obtain sensitive request headers of other users in the cluster. This issue is fixed in Elasticsearch 7.10.2

    Recommended action: Upgrade to 7.10.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 →
  13. High, CVSS 8.8MavenPublished

    Privilege Escalation Flaw in Elasticsearch

    CVE-2020-7014 · GHSA-hqqv-9x3v-mp7w

    Affected
    • Maven org.elasticsearch:elasticsearch >= 6.7.0, < 6.8.8; >= 7.0.0, < 7.6.2
    Fixed in
    6.8.87.6.2· Vendor fix available
    Issue
    The fix for CVE-2020-7009 was found to be incomplete. 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 and also authentication tokens. An attacker who is able to generate an API key and an authentication token can perform a series of steps that result in an authentication token 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 →
  14. Low, CVSS 3.1MavenPublished

    Privilege Context Switching Error in Elasticsearch

    CVE-2020-7020 · GHSA-g9fw-9x87-rmrj

    Affected
    • Maven org.elasticsearch:elasticsearch < 6.8.13; >= 7.0.0, < 7.9.2
    Fixed in
    6.8.137.9.2· Vendor fix available
    Issue
    Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex 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.9.2 or 6.8.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. Medium, CVSS 4.3MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor

    CVE-2021-22134 · GHSA-hwvv-438r-mhvj

    Affected
    • Maven org.elasticsearch:elasticsearch >= 7.6.0, < 7.11.0
    Fixed in
    7.11.0· Vendor fix available
    Issue
    A document disclosure flaw was found in Elasticsearch versions after 7.6.0 and before 7.11.0 when Document or Field Level Security is used. Get requests do not properly apply security permissions when executing a query against a recently updated document. This affects documents that have been updated and not yet refreshed in the index. This could result in the search disclosing the existence of documents and fields the attacker should not be able to view.

    Recommended action: Upgrade to 7.11.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 →