CVE-2023-31421
JSON

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 packageVersionsReported by
Elastic Beats8.0.0, 8.9.2CVE List
Elastic Elastic Agent8.0.0, 8.9.2CVE List
Elastic APM Server8.0.0, 8.9.2CVE List
Elastic Fleet Server8.0.0, 8.9.2CVE List
elastic elastic_beatsfrom 8.0.0 up to 8.9.2NVD
elastic elastic_agentfrom 8.0.0 up to 8.9.2NVD
elastic apm_serverfrom 8.0.0 up to 8.9.2NVD
elastic elastic_fleet_serverfrom 8.0.0 up to 8.9.2NVD

All scores

elastic5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS: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

SourceRecordLicence
CVE ListCVE-2023-31421 changed 2024-08-02CVE Terms of Use
NVDCVE-2023-31421 changed 2026-06-17Public domain