CVEfocus › CVE database › CVE-2023-34462

CVE-2023-34462netty-handler SniHandler 16MB allocation

CVSS 6.5 MediumEPSS 1.8% (higher than 80% of CVEs)Published 2023-06-22Updated 2025-02-13Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
2Fix pending
9Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nettyFix pendingUBUNTU-CVE-2023-34462
Ubuntu 26.04nettyFix pendingUBUNTU-CVE-2023-34462
Ubuntu 25.10nettyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-34462
Ubuntu 24.04nettyFixed1:4.1.48-9UBUNTU-CVE-2023-34462
Ubuntu 22.04nettyFixed1:4.1.48-4+deb11u2build0.22.04.1UBUNTU-CVE-2023-34462
Ubuntu 16.04nettyWill not fix
Ubuntu decided not to fix this in this release
Debian 14nettyFixed1:4.1.48-8DEBIAN-CVE-2023-34462
Debian 13nettyFixed1:4.1.48-8DEBIAN-CVE-2023-34462
Debian 12nettyFixed1:4.1.48-7+deb12u1DEBIAN-CVE-2023-34462
Red Hat Enterprise Linux 9log4jWill not fix
Will not fix
Red Hat Enterprise Linux 9log4j-jclWill not fix
Will not fix
Red Hat Enterprise Linux 9log4j-slf4jWill not fix
Will not fix
Red Hat Enterprise Linux 8log4jWill not fix
Will not fix
Red Hat Enterprise Linux 8log4j-jclWill not fix
Will not fix
Red Hat Enterprise Linux 8log4j-slf4jWill not fix
Will not fix
Red Hat Enterprise Linux 8log4j-webWill not fix
Will not fix
Maven libraryio.netty:netty-handlerFixed4.1.94.FinalGHSA-6mjq-h674-j845

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.