MEDIUM · 5.9

CVE-2023-31421

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, certifi...

Vulnerability 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.

CVSS Score

5.9

MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE

Affected Products

VendorProductVersions
ElasticElastic Beats>= 8.0.0, <= 8.9.2
ElasticElastic Agent>= 8.0.0, <= 8.9.2
ElasticApm Server>= 8.0.0, <= 8.9.2
ElasticElastic Fleet Server>= 8.0.0, <= 8.9.2

Related Weaknesses (CWE)

References

FAQ

What is CVE-2023-31421?

CVE-2023-31421 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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, certifi...

How severe is CVE-2023-31421?

CVE-2023-31421 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2023-31421?

Check the references section above for vendor advisories and patch information. Affected products include: Elastic Elastic Beats, Elastic Elastic Agent, Elastic Apm Server, Elastic Elastic Fleet Server.