Skip to content

CVE-2023-31421 Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue

HighCVSS 7.5 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

6 packages: 4 fixed.

PackageAffectedFixed inStatus
Elastic Agent = 8.0.0, 8.9.2; >= 8.0.0, <= 8.9.2 after 8.9.2 Fixed
Elastic APM Server = 8.0.0, 8.9.2; >= 8.0.0, <= 8.9.2 after 8.9.2 Fixed
elastic beats >= 8.0.0, <= 8.9.2 after 8.9.2 Fixed
elastic fleet server >= 8.0.0, <= 8.9.2 after 8.9.2 Fixed
Elastic Fleet Server = 8.0.0, 8.9.2 No fix listed Versions listed
Elastic github.com/elastic/beats = 8.0.0, 8.9.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Elastic github.com/elastic/beats = 8.0.0, 8.9.2 No fix listed
Elastic Agent = 8.0.0, 8.9.2 No fix listed
Elastic APM Server = 8.0.0, 8.9.2 No fix listed
Elastic Fleet Server = 8.0.0, 8.9.2 No fix listed
elastic beats >= 8.0.0, <= 8.9.2 No fix listed
Elastic Agent >= 8.0.0, <= 8.9.2 No fix listed
Elastic APM Server >= 8.0.0, <= 8.9.2 No fix listed
elastic fleet server >= 8.0.0, <= 8.9.2 No fix listed

References