5.9medium
Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue
- Severity
- 5.9medium CVSS:3.1 by elastic
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
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
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Beats | 8.0.0, 8.9.2 | CVE List |
| Elastic Elastic Agent | 8.0.0, 8.9.2 | CVE List |
| Elastic APM Server | 8.0.0, 8.9.2 | CVE List |
| Elastic Fleet Server | 8.0.0, 8.9.2 | CVE List |
| elastic elastic_beats | from 8.0.0 up to 8.9.2 | NVD |
| elastic elastic_agent | from 8.0.0 up to 8.9.2 | NVD |
| elastic apm_server | from 8.0.0 up to 8.9.2 | NVD |
| elastic elastic_fleet_server | from 8.0.0 up to 8.9.2 | NVD |
All scores
| elastic | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Se descubrió que cuando actuaban como Clientes TLS, Beats, Elastic Agent, APM Server y Fleet Server no verificaban si el certificado del servidor es válido para la dirección IP de destino; sin embargo, aún se realiza la validación de la firma del certificado. Más específicamente, cuando el cliente está configurado para conectarse a una dirección IP (en lugar de un nombre de host), no valida los valores IP SAN del certificado del servidor con esa dirección IP y la validación del certificado falla y, por lo tanto, la conexión no se bloquea como se esperaba.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31421 changed 2024-08-02 | CVE Terms of Use |
| NVD | CVE-2023-31421 changed 2026-06-17 | Public domain |