CVE-2021-22145: A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting.
Medium CVSS 6.5
- CVE id
- CVE-2021-22145
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Elasticsearch Runtimes and servers |
>= 7.10.0, <= 7.13.3 | after 7.13.3 |
How to fix it
Upgrade Elasticsearch to a release newer than 7.13.3.
curl -s localhost:9200
- Upgrade Elasticsearch (the elasticsearch image tag or packages) to the patched release with a rolling restart; on Elastic Cloud, upgrade the deployment.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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.
References
- CVE-2021-22145 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-22145
- Web: https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177
- Web: https://gist.github.com/lucasdrufva/f9c5d7c9e26ee087b736d727953afd34
- Web: https://security.netapp.com/advisory/ntap-20210827-0006/
- Web: https://www.oracle.com/security-alerts/cpuapr2022.html
- Web: https://discuss.elastic.co/t/elasticsearch-7-13-4-security-update/279177
- Web: https://security.netapp.com/advisory/ntap-20210827-0006/
- Web: https://www.oracle.com/security-alerts/cpuapr2022.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.