GHSA-x5hg-x4gv-j98m
OpenSearch has ineffective TLS certificate hostname verification
Quick fix
GHSA-x5hg-x4gv-j98m — org.opensearch.plugin:opensearch-security: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.19.4.0</version> for org.opensearch.plugin:opensearch-securityDetails
### Description
A regression was introduced in OpenSearch 2.18.0 that caused the `plugins.security.ssl.transport.enforce_hostname_verification` setting to be ineffective. When this setting was enabled, OpenSearch did not verify that the hostname in a connecting node's TLS certificate matched the hostname of the connection. This could allow a node with a valid certificate (signed by the cluster's trusted CA) but an incorrect hostname SAN to join the cluster.
### Impact
Clusters running affected versions with hostname verification enabled did not receive the expected protection from this setting. A node presenting a certificate signed by the cluster's trusted CA could join the cluster regardless of whether its hostname SAN matched. This regression does not affect certificate validation itself — only the additional hostname verification check.
### Patches
This issue is fixed in OpenSearch 2.19.4 and 3.3.0.
### Workarounds
Use more restrictive values for `plugins.security.nodes_dn` to limit which certificates are accepted for node-to-node communication.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.18.0Fixed in: 2.19.4.0# pom.xml: bump <version>2.19.4.0</version> for org.opensearch.plugin:opensearch-security3.0.0Fixed in: 3.3.0.0# pom.xml: bump <version>3.3.0.0</version> for org.opensearch.plugin:opensearch-securityReferences
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.opensearch.plugin/opensearch-security"]}'