-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
type/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug
Description
EndpointIdentificationAlgorithm
parameter must be set to "HTTPS" to properly perform hostname validation during SslEngine
creation.
As far as I can see in the Pulsar codebase this parameter is left to the default value; this means that the hostname validation is disabled.
More context here
- Security Vulnerability - Common Weakness Enumeration (CWE) CWE-295 netty/netty#9930
- [Netty 5] Enable hostname verification by default netty/netty#8537
- https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLParameters.html#setEndpointIdentificationAlgorithm-java.lang.String-
- https://netty.io/4.1/api/io/netty/handler/ssl/SslContext.html#newHandler-io.netty.buffer.ByteBufAllocator-java.util.concurrent.Executor-
Metadata
Metadata
Assignees
Labels
type/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug