{"id":"CVE-2021-22138","state":"PUBLISHED","title":"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","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.","publishedAt":"2021-05-13T17:35:19.000Z","updatedAt":"2024-08-03T18:30:24.012Z","severity":null,"assigner":"elastic","products":["Elastic Elasticsearch"],"affected":[{"vendor":"Elastic","product":"Elasticsearch","versions":[{"version":"after 6.4.0 and before 6.8.15 and 7.12.0","status":"affected"}]}],"references":["https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","https://security.netapp.com/advisory/ntap-20210629-0001/"],"weaknesses":["CWE-295"],"ingestedAt":"2026-10-29T19:48:02.192Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/22xxx/CVE-2021-22138.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-22138","state":"PUBLISHED","datePublished":"2021-05-13T17:35:19.000Z","dateUpdated":"2024-08-03T18:30:24.012Z","assignerShortName":"elastic","assignerOrgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateReserved":"2021-01-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Elastic","product":"Elasticsearch","versions":[{"version":"after 6.4.0 and before 6.8.15 and 7.12.0","status":"affected"}]}],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210629-0001/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","description":"CWE-295: Improper Certificate Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"elastic","dateUpdated":"2021-06-29T09:06:14.000Z","orgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@elastic.co","ID":"CVE-2021-22138","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Elasticsearch","version":{"version_data":[{"version_value":"after 6.4.0 and before 6.8.15 and 7.12.0"}]}}]},"vendor_name":"Elastic"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-295: Improper Certificate Validation"}]}]},"references":{"reference_data":[{"name":"https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","refsource":"MISC","url":"https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125"},{"name":"https://security.netapp.com/advisory/ntap-20210629-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210629-0001/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210629-0001/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:30:24.012Z"}}]}}}