CVE-2023-31421

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:elastic:elastic_beats:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:a:elastic:apm_server:*:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:a:elastic:elastic_fleet_server:*:*:*:*:*:*:*:*

History

15 Feb 2024, 19:39

Type Values Removed Values Added
First Time Elastic apm Server
CPE cpe:2.3:a:elastic:elastic_apm_server:*:*:*:*:*:*:*:* cpe:2.3:a:elastic:apm_server:*:*:*:*:*:*:*:*

08 Nov 2023, 14:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:elastic:elastic_fleet_server:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_apm_server:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_beats:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*
First Time Elastic elastic Apm Server
Elastic elastic Beats
Elastic
Elastic elastic Fleet Server
Elastic elastic Agent
CWE CWE-295
References (MISC) https://www.elastic.co/community/security - (MISC) https://www.elastic.co/community/security - Vendor Advisory
References (MISC) 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 - (MISC) 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 - Vendor Advisory

26 Oct 2023, 11:44

Type Values Removed Values Added
New CVE

Information

Published : 2023-10-26 04:15

Updated : 2024-02-15 19:39


NVD link : CVE-2023-31421

Mitre link : CVE-2023-31421

CVE.ORG link : CVE-2023-31421


JSON object : View

Products Affected

elastic

  • elastic_agent
  • apm_server
  • elastic_beats
  • elastic_fleet_server
CWE
CWE-295

Improper Certificate Validation