GHSA-4g8c-wm8x-jfhw
SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine
Quick fix
GHSA-4g8c-wm8x-jfhw — io.netty:netty-handler: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.1.118.Final</version> for io.netty:netty-handlerDetails
### Impact When a special crafted packet is received via SslHandler it doesn't correctly handle validation of such a packet in all cases which can lead to a native crash.
### Workarounds As workaround its possible to either disable the usage of the native SSLEngine or changing the code from:
``` SslContext context = ...; SslHandler handler = context.newHandler(....); ```
to:
``` SslContext context = ...; SSLEngine engine = context.newEngine(....); SslHandler handler = new SslHandler(engine, ....); ```
Are you affected?
Enter the version of the package you're using.
Affected packages
4.1.91.FinalFixed in: 4.1.118.Final# pom.xml: bump <version>4.1.118.Final</version> for io.netty:netty-handlerReferences
- https://github.com/netty/netty/security/advisories/GHSA-4g8c-wm8x-jfhw[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-24970[ADVISORY]
- https://github.com/netty/netty/commit/87f40725155b2f89adfde68c7732f97c153676c4[WEB]
- https://github.com/netty/netty[PACKAGE]
- https://security.netapp.com/advisory/ntap-20250221-0005[WEB]
- https://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-detection[WEB]
- https://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-mitigation[WEB]