CVE-2023-31421: elastic apm_server Improper Certificate Validation
Vulnerability summary
CVE-2023-31421 is a high (CVSS 7.5) Improper Certificate Validation vulnerability in elastic apm_server. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.8% of scored vulnerabilities.
Timeline
- 26-10-2023PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
+0.05 pp
From 0.27% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Elastic6 products
- apm_server8.0.0, 8.9.2 | ≥ 8.0.0, ≤ 8.9.2
- beats8.0.0, 8.9.2
- elastic_agent8.0.0, 8.9.2 | ≥ 8.0.0, ≤ 8.9.2
- elastic_beats≥ 8.0.0, ≤ 8.9.2
- elastic_fleet_server≥ 8.0.0, ≤ 8.9.2
1 vendor · 6 products
References
2 links- discuss.elastic.co/t/…Vendor Advisory
- www.elastic.co/community/securityVendor Advisory