Skip to content

Netty - set EndpointIdentificationAlgorithm to get rid of CWE-295 #13705

@nicoloboschi

Description

@nicoloboschi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions