{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22145","id":"CVE-2021-22145","title":"Generation of Error Message Containing Sensitive Information in Elasticsearch","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 d","descriptionLong":"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-21T11:20:52.000Z","updated":"2026-10-24T10:30:42.274241485Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"elastic","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Elasticsearch"],"affectedProducts":[{"vendor":"Elastic","product":"Elasticsearch","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"7.13.3","status":"affected","version":"7.10.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.elasticsearch.client:elasticsearch-rest-client","purl":"pkg:maven/org.elasticsearch.client/elasticsearch-rest-client","ranges":[">=7.10.0 <7.13.4"],"fixed":["7.13.4"],"advisory":"GHSA-q394-h7f5-7f44"}],"cwes":["CWE-200","CWE-209"],"aliases":["BIT-elasticsearch-2021-22145","GHSA-q394-h7f5-7f44"],"references":[{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0006/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34","tags":["technical-description","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22145","tags":["advisory"]},{"url":"https://github.com/elastic/elasticsearch","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0006","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.76249,"epssPercentile":0.99545,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22145","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22145","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22145","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q394-h7f5-7f44","ok":true,"note":"GHSA-q394-h7f5-7f44"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22145","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["elasticsearch"],"critical":[],"attention":null}