{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Elasticsearch","repo":"https://github.com/elastic/elasticsearch","vendor":"Elastic","versions":[{"lessThanOrEqual":"7.13.3","status":"affected","version":"7.10.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"analyst","value":"Lucas Drufva"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>"}],"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200 Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","shortName":"elastic","dateUpdated":"2025-07-08T10:53:02.606Z"},"references":[{"tags":["x_refsource_MISC"],"url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://security.netapp.com/advisory/ntap-20210827-0006/"},{"tags":["x_refsource_MISC"],"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":["technical-description"],"url":"https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34"}],"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":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T18:37:17.274Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://security.netapp.com/advisory/ntap-20210827-0006/"},{"tags":["x_refsource_MISC","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"}]}]},"cveMetadata":{"assignerOrgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","assignerShortName":"elastic","cveId":"CVE-2021-22145","datePublished":"2021-07-21T11:20:52.000Z","dateReserved":"2021-01-04T00:00:00.000Z","dateUpdated":"2025-07-08T10:53:02.606Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}