p PatchFirst

CVE-2023-34462

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.5 · Medium · EPSS 2.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • netty

    Versions
    • < 4.1.94.Final: Affected

    No fix published

  • netty Debian:12

    Versions
    • 1:4.1.48-7
    Affected ranges
    • ECOSYSTEM: < 1:4.1.48-7+deb12u1

    Update to 1:4.1.48-7+deb12u1

  • netty Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:4.1.48-8

    Update to 1:4.1.48-8

  • netty Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:4.1.48-8

    Update to 1:4.1.48-8

  • netty Ubuntu:22.04:LTS

    Versions
    • 1:4.1.48-4
    • 1:4.1.48-4+deb11u1build0.22.04.1
    Affected ranges
    • ECOSYSTEM: < 1:4.1.48-4+deb11u2build0.22.04.1

    Update to 1:4.1.48-4+deb11u2build0.22.04.1

  • netty Ubuntu:24.04:LTS

    Versions
    • 1:4.1.48-7
    • 1:4.1.48-8
    Affected ranges
    • ECOSYSTEM: < 1:4.1.48-9

    Update to 1:4.1.48-9

  • netty Ubuntu:25.10

    Versions
    • 1:4.1.48-10
    • 1:4.1.48-10ubuntu0.25.10.1
    • 1:4.1.48-10ubuntu0.25.10.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netty Ubuntu:26.10

    Versions
    • 1:4.1.48-16
    • 1:4.1.48-16ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netty Ubuntu:Pro:26.04:LTS

    Versions
    • 1:4.1.48-10
    • 1:4.1.48-11
    • 1:4.1.48-12
    • 1:4.1.48-13
    • 1:4.1.48-14
    • 1:4.1.48-16
    • 1:4.1.48-16ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →