CVE-2023-31421

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductElastic Beats
PublishedOct 26, 2023
First seenOct 26, 2023
Weakness typeCWE-295CWE-295

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
elastic elastic_beats8.0.0 ≤ v ≤ 8.9.2—
elastic elastic_agent8.0.0 ≤ v ≤ 8.9.2—
elastic apm_server8.0.0 ≤ v ≤ 8.9.2—
elastic elastic_fleet_server8.0.0 ≤ v ≤ 8.9.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.