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
CPE cpe:2.3:a:elastic:elastic_apm_server:*:*:*:*:*:*:*:* cpe:2.3:a:elastic:apm_server:*:*:*:*:*:*:*:*
First Time Elastic apm Server

08 Nov 2023, 14:17

Type Values Removed Values Added
CWE CWE-295
CPE cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_apm_server:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_fleet_server:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:elastic_beats:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Elastic elastic Apm Server
Elastic elastic Agent
Elastic
Elastic elastic Fleet Server
Elastic elastic Beats
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-28 20:33


NVD link : CVE-2023-31421

Mitre link : CVE-2023-31421

CVE.ORG link : CVE-2023-31421


JSON object : View

Products Affected

elastic

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

Improper Certificate Validation