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!