{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-31421","id":"CVE-2023-31421","title":"Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue","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 ","descriptionLong":"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.","published":"2023-10-26T03:10:52.684Z","updated":"2026-10-28T02:30:47.096735160Z","reserved":"2023-04-27T18:54:56.705Z","status":"Modified","rejected":false,"assigner":"elastic","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"elastic"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"elastic"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"elastic.co"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Elastic Beats","Elastic Agent","Elastic APM Server","Elastic Fleet Server"],"affectedProducts":[{"vendor":"Elastic","product":"Beats","defaultStatus":"unaffected","versions":[{"status":"affected","version":"8.0.0, 8.9.2"}],"platforms":[]},{"vendor":"Elastic","product":"Elastic Agent","defaultStatus":"unaffected","versions":[{"status":"affected","version":"8.0.0, 8.9.2"}],"platforms":[]},{"vendor":"Elastic","product":"APM Server","defaultStatus":"unaffected","versions":[{"status":"affected","version":"8.0.0, 8.9.2"}],"platforms":[]},{"vendor":"Elastic","product":"Fleet Server","defaultStatus":"unaffected","versions":[{"status":"affected","version":"8.0.0, 8.9.2"}],"platforms":[]}],"packages":[],"cwes":["CWE-295"],"aliases":[],"references":[{"url":"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","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://www.elastic.co/community/security","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31421.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31421","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00323,"epssPercentile":0.25886,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-31421","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31421","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-31421","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-31421","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}