CVE-2025-24970
SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine
Description
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, ....);
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.netty » netty-handler | >= 4.1.91.Final, < 4.1.118.Final | 4.1.118.Final |
Blast radius
46% of the dependent artifacts (8,661) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 20,010 |
| 2 hops | 75,859 |
| 3 hops | 163,690 |
| 4 hops | 111,550 |
| 5 hops | 83,979 |
| 6 hops | 58,364 |
Most used dependents
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.springframework.boot » spring-boot-starter-data-redis3,154 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- com.android.tools.build » gradle2,197 usages
- org.seleniumhq.selenium » selenium-java2,089 usages
- org.apache.zookeeper » zookeeper2,044 usages
- com.typesafe.play » play-test1,902 usages
- org.apache.hadoop » hadoop-client1,796 usages
- io.netty » netty-codec-http1,529 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-hdfs1,377 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/netty/netty/security/advisories/GHSA-4g8c-wm8x-jfhw
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-24970
- Webhttps://github.com/netty/netty/commit/87f40725155b2f89adfde68c7732f97c153676c4
- Packagehttps://github.com/netty/netty
- Webhttps://security.netapp.com/advisory/ntap-20250221-0005
- Webhttps://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-detection
- Webhttps://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-mitigation
