CVE-2021-22145Elasticsearch
Medium 6.5 High EPSS
Follow: this CVE · Elastic · Elasticsearch We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 6.5
- EPSS
- 76.2% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- Published
- Jul 21, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Elasticsearch.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.elasticsearch.client:elasticsearch-rest-client |
≥ 7.10.0 < 7.13.4 |
7.13.4 |
— |
Per OSV / GitHub Advisories (GHSA-q394-h7f5-7f44). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | elasticsearch | ≥ 7.10.0 ≤ 7.13.3 |
| oracle | communications_cloud_native_core_automated_test_suite | 1.8.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- discuss.elastic.co Vendor Advisory
- gist.github.com
- security.netapp.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory