{"id":"CVE-2023-31421","aliases":["CVE-2023-31421"],"related":[],"kind":"vulnerability","state":"published","title":"Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2023-10-26T03:10:52.684Z","modified":"2026-06-17T05:56:54.707Z","severity":{"scorer":"elastic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"elastic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"8.0.0, 8.9.2","status":"affected"}],"vendor":"Elastic","product":"Beats","source":"cvelist"},{"ranges":[{"version":"8.0.0, 8.9.2","status":"affected"}],"vendor":"Elastic","product":"Elastic Agent","source":"cvelist"},{"ranges":[{"version":"8.0.0, 8.9.2","status":"affected"}],"vendor":"Elastic","product":"APM Server","source":"cvelist"},{"ranges":[{"version":"8.0.0, 8.9.2","status":"affected"}],"vendor":"Elastic","product":"Fleet Server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.9.2"}],"vendor":"elastic","product":"elastic_beats","cpe":"cpe:2.3:a:elastic:elastic_beats:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.9.2"}],"vendor":"elastic","product":"elastic_agent","cpe":"cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.9.2"}],"vendor":"elastic","product":"apm_server","cpe":"cpe:2.3:a:elastic:apm_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.9.2"}],"vendor":"elastic","product":"elastic_fleet_server","cpe":"cpe:2.3:a:elastic:elastic_fleet_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://discuss.elastic.co/t/beats-elastic-agent-apm-server-and-fleet-server-8-10-1-security-update-improper-certificate-validation-issue-esa-2023-16/343385","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.elastic.co/community/security","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"elastic","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-31421","url":"https://www.cve.org/CVERecord?id=CVE-2023-31421","licence":"CVE Terms of Use","modified":"2024-08-02T14:53:30.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-31421","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31421","licence":"Public domain","modified":"2026-06-17T05:56:54.707Z"}],"updatedAt":"2026-11-25T22:58:29.677Z","epss":{"score":0.00323,"percentile":0.2736,"date":"2026-12-01T12:00:22.000Z"}}