### [CVE-2021-22145](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22145) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://packetstormsecurity.com/files/163648/ElasticSearch-7.13.3-Memory-Disclosure.html - https://www.oracle.com/security-alerts/cpuapr2022.html #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/niceeeeeeee/CVE-2021-22145-poc