CVE-2023-31421
published medium CVSS 3.1 · 5.9Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Elastic | — | Beats8.0.0, 8.9.2 · Other versions: unaffected | Affected | Not stated | elastic |
| Elastic | — | Elastic Agent8.0.0, 8.9.2 · Other versions: unaffected | Affected | Not stated | elastic |
| Elastic | — | APM Server8.0.0, 8.9.2 · Other versions: unaffected | Affected | Not stated | elastic |
| Elastic | — | Fleet Server8.0.0, 8.9.2 · Other versions: unaffected | Affected | Not stated | elastic |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- elastic · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Elastic | Beats | 8.0.0, 8.9.2 (affected)Default: unaffected | elastic · cna |
| Elastic | Elastic Agent | 8.0.0, 8.9.2 (affected)Default: unaffected | elastic · cna |
| Elastic | APM Server | 8.0.0, 8.9.2 (affected)Default: unaffected | elastic · cna |
| Elastic | Fleet Server | 8.0.0, 8.9.2 (affected)Default: unaffected | elastic · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
2Provider assertions
2elastic · cna
Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cf1e3294345dc17d7d9d2b92b91a00071d322507dd9d80a93c1dec919029c08e
- Ingested
- 23 Sep 2026, 08:08:48 UTC
- Source record
- Official CVE record