CVE-2023-31421Elastic Beats
High 7.5 No auth needed
Follow: this CVE · Elastic · Elastic Beats We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Elastic Beats.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | elastic_beats | ≥ 8.0.0 ≤ 8.9.2 |
| elastic | elastic_agent | ≥ 8.0.0 ≤ 8.9.2 |
| elastic | apm_server | ≥ 8.0.0 ≤ 8.9.2 |
| elastic | elastic_fleet_server | ≥ 8.0.0 ≤ 8.9.2 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Vendor Advisory
- www.elastic.co Vendor Advisory