{"id":"CVE-2021-22145","state":"PUBLISHED","title":"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 submi","description":"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.","publishedAt":"2021-07-21T11:20:52.000Z","updatedAt":"2025-07-08T10:53:02.606Z","severity":null,"assigner":"elastic","products":["Elastic Elasticsearch"],"affected":[{"vendor":"Elastic","product":"Elasticsearch","defaultStatus":"unaffected","versions":[{"version":"7.10.0","status":"affected","lessThanOrEqual":"7.13.3","versionType":"semver"}],"repo":"https://github.com/elastic/elasticsearch"}],"references":["https://www.oracle.com/security-alerts/cpuapr2022.html","https://security.netapp.com/advisory/ntap-20210827-0006/","https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177","http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html","https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T19:48:02.192Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/22xxx/CVE-2021-22145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-22145","state":"PUBLISHED","datePublished":"2021-07-21T11:20:52.000Z","dateUpdated":"2025-07-08T10:53:02.606Z","assignerShortName":"elastic","assignerOrgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateReserved":"2021-01-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Elastic","product":"Elasticsearch","defaultStatus":"unaffected","versions":[{"version":"7.10.0","status":"affected","lessThanOrEqual":"7.13.3","versionType":"semver"}],"repo":"https://github.com/elastic/elasticsearch"}],"references":[{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0006/","tags":["x_refsource_CONFIRM"]},{"url":"https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34","tags":["technical-description"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200 Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"elastic","orgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateUpdated":"2025-07-08T10:53:02.606Z"},"credits":[{"lang":"en","type":"analyst","value":"Lucas Drufva"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@elastic.co","ID":"CVE-2021-22145","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.oracle.com/security-alerts/cpuapr2022.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"name":"https://security.netapp.com/advisory/ntap-20210827-0006/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210827-0006/"},{"name":"https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177","refsource":"MISC","url":"https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177"},{"name":"http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0006/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:37:17.274Z"}}]}}}