CVE-2021-22132: Elasticsearch versions 7.7.0 to 7.10.1 contain an information disclosure flaw in the async search API.
Medium CVSS 4.8
- CVE id
- CVE-2021-22132
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Elasticsearch Runtimes and servers |
>= 7.7.0, < 7.10.2 | 7.10.2 |
How to fix it
Upgrade Elasticsearch to 7.10.2 or later.
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
Elasticsearch versions 7.7.0 to 7.10.1 contain an information disclosure flaw in the async search API. Users who execute an async search will improperly store the HTTP headers. An Elasticsearch user with the ability to read the .tasks index could obtain sensitive request headers of other users in the cluster. This issue is fixed in Elasticsearch 7.10.2
References
- CVE-2021-22132 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-22132
- Web: https://discuss.elastic.co/t/elasticsearch-7-10-2-security-update/261164
- Web: https://security.netapp.com/advisory/ntap-20210219-0004/
- Web: https://www.oracle.com/security-alerts/cpuapr2022.html
- Web: https://discuss.elastic.co/t/elasticsearch-7-10-2-security-update/261164
- Web: https://security.netapp.com/advisory/ntap-20210219-0004/
- 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.