Red Hat VEX
RHVEX-CVE-2026-40970
Spring Boot: Spring Boot: Missing hostname verification in Elasticsearch auto-configuration allows information disclosure
Details
A flaw was found in Spring Boot. When configured to use an SSL (Secure Sockets Layer) bundle, the Elasticsearch auto-configuration component does not perform hostname verification when establishing a connection to the Elasticsearch server. An attacker on an adjacent network could exploit this by performing a man-in-the-middle attack. This could lead to the disclosure or modification of sensitive information exchanged between Spring Boot and the Elasticsearch server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | log4j | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | log4j-jcl | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | log4j-slf4j | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | log4j-web | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | log4j | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | log4j-jcl | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | log4j-slf4j | All versions, no fix (out of support scope) |