CVE-2023-34462netty-handler SniHandler 16MB allocation
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | netty | Fix pending | UBUNTU-CVE-2023-34462 | |
| Ubuntu 26.04 | netty | Fix pending | UBUNTU-CVE-2023-34462 | |
| Ubuntu 25.10 | netty | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-34462 | |
| Ubuntu 24.04 | netty | Fixed | 1:4.1.48-9 | UBUNTU-CVE-2023-34462 |
| Ubuntu 22.04 | netty | Fixed | 1:4.1.48-4+deb11u2build0.22.04.1 | UBUNTU-CVE-2023-34462 |
| Ubuntu 16.04 | netty | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | netty | Fixed | 1:4.1.48-8 | DEBIAN-CVE-2023-34462 |
| Debian 13 | netty | Fixed | 1:4.1.48-8 | DEBIAN-CVE-2023-34462 |
| Debian 12 | netty | Fixed | 1:4.1.48-7+deb12u1 | DEBIAN-CVE-2023-34462 |
| Red Hat Enterprise Linux 9 | log4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | log4j-jcl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | log4j-slf4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j-web | Will not fix Will not fix | ||
| Maven library | io.netty:netty-handler | Fixed | 4.1.94.Final | GHSA-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.
- netty: affected: < 4.1.94.Final
References
- https://github.com/netty/netty/security/advisories/GHSA-6mjq-h674-j845
- https://github.com/netty/netty/commit/535da17e45201ae4278c0479e6162bb4127d4c32
- https://security.netapp.com/advisory/ntap-20230803-0001/
- https://www.debian.org/security/2023/dsa-5558
- https://security.netapp.com/advisory/ntap-20240621-0007/
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.