{"id":"CVE-2023-31421","state":"PUBLISHED","title":"Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue","description":"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.","publishedAt":"2023-10-26T03:10:52.684Z","updatedAt":"2024-08-02T14:53:30.714Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"elastic"},"assigner":"elastic","products":["Elastic Beats","Elastic Elastic Agent","Elastic APM Server","Elastic Fleet Server"],"affected":[{"vendor":"Elastic","product":"Beats","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]},{"vendor":"Elastic","product":"Elastic Agent","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]},{"vendor":"Elastic","product":"APM Server","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]},{"vendor":"Elastic","product":"Fleet Server","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]}],"references":["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","https://www.elastic.co/community/security"],"weaknesses":["CWE-295"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/31xxx/CVE-2023-31421.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-31421","state":"PUBLISHED","datePublished":"2023-10-26T03:10:52.684Z","dateUpdated":"2024-08-02T14:53:30.714Z","assignerShortName":"elastic","assignerOrgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateReserved":"2023-04-27T18:54:56.705Z"},"containers":{"cna":{"title":"Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue","descriptions":[{"lang":"en","value":"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":[{"vendor":"Elastic","product":"Beats","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]},{"vendor":"Elastic","product":"Elastic Agent","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]},{"vendor":"Elastic","product":"APM Server","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]},{"vendor":"Elastic","product":"Fleet Server","defaultStatus":"unaffected","versions":[{"version":"8.0.0, 8.9.2","status":"affected"}]}],"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"},{"url":"https://www.elastic.co/community/security"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","description":"CWE-295: Improper Certificate Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"elastic","orgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateUpdated":"2023-10-26T03:10:52.684Z"},"datePublic":"2023-09-19T15:32:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","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":["x_transferred"]},{"url":"https://www.elastic.co/community/security","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:53:30.714Z"}}]}}}