CVE-2021-22138: elastic elasticsearch Improper Certificate Validation
Vulnerability summary
CVE-2021-22138 is a medium (CVSS 4.3) Improper Certificate Validation vulnerability in elastic elasticsearch. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.3% of scored vulnerabilities.
Timeline
- 13-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
0.00 pp
From 0.46% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Elastic2 products
- elasticsearchafter 6.4.0 and before 6.8.15 and 7.12.0
- logstash≥ 6.4.0, < 6.8.15 | ≥ 7.0.0, < 7.12.0
1 vendor · 2 products
References
2 links- discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125X Refsource MISCVendor Advisory