Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.elasticsearch.client/elasticsearch-rest-client
  4. ›
  5. CVE-2021-22145

CVE-2021-22145: Generation of Error Message Containing Sensitive Information

May 24, 2022 (updated June 22, 2022)

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.

References

  • packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html
  • discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177
  • github.com/advisories/GHSA-q394-h7f5-7f44
  • nvd.nist.gov/vuln/detail/CVE-2021-22145
  • security.netapp.com/advisory/ntap-20210827-0006/
  • www.oracle.com/security-alerts/cpuapr2022.html

Code Behaviors & Features

Detect and mitigate CVE-2021-22145 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.10.0 up to 7.13.3

Fixed versions

  • 7.13.4

Solution

Upgrade to version 7.13.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

maven/org.elasticsearch.client/elasticsearch-rest-client/CVE-2021-22145.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.