CVE-2023-31421

Severity CVSS v4.0:
Pending analysis
Type:
CWE-295 Improper Certificate Validation
Publication date:
26/10/2023
Last modified:
15/02/2024

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:elastic:elastic_beats:*:*:*:*:*:*:*:* 8.0.0 (including) 8.9.2 (including)
cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:* 8.0.0 (including) 8.9.2 (including)
cpe:2.3:a:elastic:apm_server:*:*:*:*:*:*:*:* 8.0.0 (including) 8.9.2 (including)
cpe:2.3:a:elastic:elastic_fleet_server:*:*:*:*:*:*:*:* 8.0.0 (including) 8.9.2 (including)