{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31421","published":"2023-10-26T04:15:16Z","last_modified":"2026-06-17T05:56:54.707000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-295"],"cpes":[{"criteria":"cpe:2.3:a:elastic:elastic_beats:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"elastic_beats","version_start_including":"8.0.0","version_end_including":"8.9.2"},{"criteria":"cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"elastic_agent","version_start_including":"8.0.0","version_end_including":"8.9.2"},{"criteria":"cpe:2.3:a:elastic:apm_server:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"apm_server","version_start_including":"8.0.0","version_end_including":"8.9.2"},{"criteria":"cpe:2.3:a:elastic:elastic_fleet_server:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"elastic_fleet_server","version_start_including":"8.0.0","version_end_including":"8.9.2"}],"cpes_truncated":false,"vendors":["elastic"],"products":["elastic/elastic_beats","elastic/elastic_agent","elastic/apm_server","elastic/elastic_fleet_server"],"epss":{"score":0.00388,"percentile":0.24597,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-31421/","html_en":"/en/cve/CVE-2023-31421/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31421","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31421"},"untrusted":{"vendor_name":"Elastic","product_name":"Elastic Beats","desc_en":"It was discovered that when acting as TLS clients, Beats, Elastic Agent, APM Server, and Fleet Server did not verify whether the server certificate is valid for the target IP address; however, certificate signature validation is still performed. More specifically, when the client is configured to connect to an IP address (instead of a hostname) it does not validate the server certificate's IP SAN values against that IP address and certificate validation fails, and therefore the connection is not blocked as expected.","affected":[{"untrusted_vendor":"Elastic","untrusted_product":"Beats","versions":[]},{"untrusted_vendor":"Elastic","untrusted_product":"Elastic Agent","versions":[]},{"untrusted_vendor":"Elastic","untrusted_product":"APM Server","versions":[]},{"untrusted_vendor":"Elastic","untrusted_product":"Fleet Server","versions":[]}],"references":[{"url":"https://discuss.elastic.co/t/beats-elastic-agent-apm-server-and-fleet-server-8-10-1-security-update-improper-certificate-validation-issue-esa-2023-16/343385","tags":["Vendor Advisory"]},{"url":"https://www.elastic.co/community/security","tags":["Vendor Advisory"]}]}}