{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-22138","published":"2021-05-13T18:15:09.077000Z","last_modified":"2026-06-17T03:36:40.987000Z","status":"Modified","cvss":{"version":"3.1","score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-295"],"cpes":[{"criteria":"cpe:2.3:a:elastic:logstash:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"logstash","version_start_including":"6.4.0","version_end_excluding":"6.8.15"},{"criteria":"cpe:2.3:a:elastic:logstash:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"logstash","version_start_including":"7.0.0","version_end_excluding":"7.12.0"}],"cpes_truncated":false,"vendors":["elastic"],"products":["elastic/logstash"],"epss":{"score":0.00459,"percentile":0.41517,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"low","priority_score":37,"links":{"html_es":"/es/cve/CVE-2021-22138/","html_en":"/en/cve/CVE-2021-22138/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22138","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22138"},"untrusted":{"vendor_name":"Elastic","product_name":"Logstash","desc_en":"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.","affected":[{"untrusted_vendor":"Elastic","untrusted_product":"Elasticsearch","versions":[]}],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210629-0001/","tags":["Third Party Advisory"]}]}}