VDB

CVE-2021-22145

CVE-2021-22145 PUBLISHED

Generation of Error Message Containing Sensitive Information in Elasticsearch

Reported by elastic · Published July 21, 2021

elasticsearch-rest-client is fixed in 7.13.4 (Maven Central)

A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit arbitrary queries to Elasticsearch could submit a malformed query that would result in an error message returned containing previously used portions of a data buffer. This buffer could contain sensitive information such as Elasticsearch documents or authentication details.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.elasticsearch.client:elasticsearch-rest-clientMaven Central7.13.4
elasticsearchBitnami7.13.4
ElasticsearchElastic7.13.3
elasticsearchBitnami7.13.4

Affected products

VendorProductVersions
ElasticElasticsearch7.10.0
ElasticElasticsearch7.10.0

Timeline

  • Jul 21, 2021 CVE Published
  • Jul 22, 2021 EPSS Score (30 in total, the first dated here)
  • Jul 23, 2021 PoC Published (7 in total, the first dated here)
  • Jul 8, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22145
vulnetix vdb fixes CVE-2021-22145

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22145/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_CONFIRM
  • x_refsource_MISC
  • x_refsource_MISC
  • technical-description
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›