CVE-2023-31421: Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue
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 27.3% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
27%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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