Skip to content

CVE-2023-4586: Does Spring Boot enable host name verification with Netty in all cases? #38094

@candrews

Description

@candrews

CVE-2023-4586: Improper Certificate Validation applies to netty 4.x (there is no netty 5 [yet?]) upon which Spring Boot depends.

Netty's documentation for how to enable hostname verification: https://netty.io/4.1/api/io/netty/handler/ssl/SslContext.html#newHandler-io.netty.buffer.ByteBufAllocator-java.util.concurrent.Executor-

I'm trying to find all relevant netty references in Spring Boot to ensure that hostname verification is enabled for each. Some potentially relevant classes I've found include: ReactorNettyWebSocketClient, ReactorNetty2WebSocketClient, ReactorNetty2ClientHttpConnector, ReactorClientHttpConnector, ReactorClientHttpConnectorFactory, ReactiveCloudFoundrySecurityService.

I'm finding it quite difficult to verify if Spring Boot enabled host name verification in all paths. Could Spring Boot please let us know if it does?

I think it would really benefit the community to get a clear statement as to whether CVE-2023-4586 impacts Spring Boot or not.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions