Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-34462 EUVD-2023-1713GHSA-6mjq-h674-j845

netty-handler SniHandler 16MB allocation

Published Jun 22, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The `SniHandler` can allocate up to 16MB of heap for each channel during the TLS handshake. When the handler or the channel does not have an idle timeout, it can be used to make a TCP server using the `SniHandler` to allocate 16MB of heap. The `SniHandler` class is a handler that waits for the TLS handshake to configure a `SslHandler` according to the indicated server name by the `ClientHello` record. For this matter it allocates a `ByteBuf` using the value defined in the `ClientHello` record. Normally the value of the packet should be smaller than the handshake packet but there are not checks done here and the way the code is written, it is possible to craft a packet that makes the `SslClientHelloHandler`. This vulnerability has been fixed in version 4.1.94.Final.

Affected products

VendorProductAffectedFixed
netty netty < 4.1.94.Final —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 netty 1:4.1.48-8 —
Debian 13 netty 1:4.1.48-8 —
Debian 12 netty 1:4.1.48-7+deb12u1 DSA-5558-1
Debian 11 netty 1:4.1.48-4+deb11u2 DSA-5558-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 netty No fix yet —
Ubuntu 25.10 netty No fix yet —
Ubuntu 24.04 LTS netty 1:4.1.48-9 —
Ubuntu 22.04 LTS netty 1:4.1.48-4+deb11u2build0.22.04.1 USN-6994-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS netty No fix yet —
ReleasePackageFixed inAdvisory
Red Hat JBoss EAP 7 eap7-activemq-artemis +15 2.16.0-15.redhat_00049.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-bouncycastle +5 1.76.0-4.redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-hal-console 3.3.19-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-hibernate +4 5.3.31-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-ironjacamar +8 1.5.15-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-marshalling +1 2.0.13-2.SP1_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-modules 1.12.2-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-31.Final_redhat_00030.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-xnio-base 3.8.10-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-mod_cluster 1.4.5-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-netty +28 4.1.94-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-resteasy +18 3.15.8-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-undertow 2.2.26-1.SP1_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.13-8.GA_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly-elytron +1 1.15.20-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.13-8.GA_redhat_00001.1.el8eap RHSA-2023:5486, RHSA-2023:5485
ReleasePackageFixed inAdvisory
SLES 15 SP5 netty 4.1.94-150200.4.17.1 SUSE-SU-2023:2974-1
SLES 15 SP5 netty-tcnative 2.0.61-150200.3.13.1 SUSE-SU-2023:2974-1
SLES 15 SP4 netty-tcnative 2.0.61-150200.3.13.1 SUSE-SU-2023:2974-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Real Time 15 SP3 netty-tcnative 2.0.61-150200.3.13.1 SUSE-SU-2023:2974-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed netty 4.1.114-1.1 openSUSE-SU-2024:14442-1
openSUSE Leap 15.5 netty 4.1.94-150200.4.17.1 SUSE-SU-2023:2974-1
openSUSE Leap 15.5 netty-tcnative 2.0.61-150200.3.13.1 SUSE-SU-2023:2974-1
openSUSE Leap 15.4 netty 4.1.94-150200.4.17.1 SUSE-SU-2023:2974-1
openSUSE Leap 15.4 netty-tcnative 2.0.61-150200.3.13.1 SUSE-SU-2023:2974-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cloudwatch-exporter 0.15.4-r2 —
Wolfi rolling docker-selenium-standalone-chrome No fix yet —
Wolfi rolling wavefront-proxy 13.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.netty:netty-handler < 4.1.94.Final 4.1.94.Final GHSA-6mjq-h674-j845

Advisories 24

References