{"id":"CVE-2021-22145","aliases":["BIT-elasticsearch-2021-22145","GHSA-q394-h7f5-7f44"],"url":"https://o3.security/vulnerability/CVE-2021-22145","summary":"Generation of Error Message Containing Sensitive Information in Elasticsearch","details":"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.","published":"2021-07-21T15:15:14.063Z","modified":"2026-07-08T05:57:31.098641850Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"Maven","name":"org.elasticsearch.client:elasticsearch-rest-client","fixedVersion":"7.13.4"}],"fix":null,"references":[{"type":"WEB","url":"https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34"},{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210827-0006/"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:57:31.098641850Z"}}