CVE-2021-22138
publishedElasticsearch vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Elastic | — | Elasticsearchafter 6.4.0 and before 6.8.15 and 7.12.0 | Affected | Not stated | elastic |
Description
In Logstash versions after 6.4.0 and before 6.8.15 and 7.12.0 a TLS certificate validation flaw was found in the monitoring feature. When specifying a trusted server CA certificate Logstash would not properly verify the certificate returned by the monitoring server. This could result in a man in the middle style attack against the Logstash monitoring data.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Elastic | Elasticsearch | after 6.4.0 and before 6.8.15 and 7.12.0 (affected) | elastic · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
2Provider assertions
2elastic · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d1adbc8aaeb79815b3b707752fc28ec6c0992cc609660b51fcdee28d6506dce9
- Ingested
- 23 Sep 2026, 07:52:37 UTC
- Source record
- Official CVE record