CVE-2023-34462: netty-handler SniHandler 16MB allocation
Vulnerability summary
CVE-2023-34462 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in netty. EPSS estimates a 2.46% chance of exploitation in the next 30 days, higher than 84.4% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 8Timeline
- 22-06-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.46%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.46% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundNetty
Maturity: poc
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- cloudwatch-exporter< 0.15.4-r2
- docker-selenium-standalone-chromeAll versions (No fix recorded)
- grpc-java-fips-1.56.0All versions (No fix recorded)
- grpc-java-fips-1.56.0-m2All versions (No fix recorded)
- wavefront-proxy< 13.1-r1
Opensuse4 products
- netty-tcnative&distro=openSUSE Leap 15.4< 2.0.61-150200.3.13.1
- netty-tcnative&distro=openSUSE Leap 15.5< 2.0.61-150200.3.13.1
- netty&distro=openSUSE Leap 15.4< 4.1.94-150200.4.17.1
- netty&distro=openSUSE Leap 15.5< 4.1.94-150200.4.17.1
Suse4 products
- netty-tcnative&distro=SUSE Linux Enterprise Module for Development Tools 15 SP4< 2.0.61-150200.3.13.1
- netty-tcnative&distro=SUSE Linux Enterprise Module for Development Tools 15 SP5< 2.0.61-150200.3.13.1
- netty-tcnative&distro=SUSE Linux Enterprise Real Time 15 SP3< 2.0.61-150200.3.13.1
- netty&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 4.1.94-150200.4.17.1
Wolfi3 products
- cloudwatch-exporter< 0.15.4-r2
- docker-selenium-standalone-chromeAll versions (No fix recorded)
- wavefront-proxy< 13.1-r1
Debian1 product
- netty< 1:4.1.48-7+deb12u1 | < 1:4.1.48-8
Io.netty1 product
- netty-handler< 4.1.94.Final
Netty1 product
- netty< 4.1.94.Final | < 4.1.94
Ubuntu1 product
- netty< 1:4.1.48-4+deb11u2build0.22.04.1 | < 1:4.1.48-9 | All versions (No fix recorded)
8 vendors · 20 products
References
17 links- github.com/netty/netty/security/advisories/GHSA-6mjq-h674-j845X Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
- github.com/netty/netty/commit/535da17e45201ae4278c0479e6162bb4127d4c32X Refsource MISCREPORTFIXWEBPatch
Show all 17 references
- github.com/netty/nettyPACKAGE