Vulnerability · Published Oct 26, 2023 · Assigned by elastic
CVE-2023-31421Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue
Medium 5.9
In plain English
A medium-severity improper certificate validation in APM Server from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Beats | 8.0.0, 8.9.2 |
| Elastic | Elastic Agent | 8.0.0, 8.9.2 |
| Elastic | APM Server | 8.0.0, 8.9.2 |
| Elastic | Fleet Server | 8.0.0, 8.9.2 |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N