GeezerVison is showing github.com — Releases · netty/netty
Releases · netty/netty
netty-4.2.21.Final
This release fixes a mistake in our build that affected Netty 4.2.20 and 4.1.140, where we accidentally increased the glibc version to 2.33 for x86_64 and aarch64.
In this release the glibc version requirements return to their previous versions.
What's Changed
- Stop decoding in Bzip2Decoder after an error by @yawkat in #18259
- Only mirror 127.0.0.1 to the IPv6 loopback in DnsQueryContextManager by @tsegismont in #18263
- NIO: Correctly catch all exceptions when NioDatagramChannel.block(...) fails by @normanmaurer in #18234
- Close channels that are still registered when an IoEventLoop exits on shutdown by @AbhishekShukla1289 in #18035
- Do not set SO_REUSEADDR on the UDP socket of TestDnsServer by @normanmaurer in #18270
- IoUring: Fall back to buffered writes for non-FileChannelImpl channels by @dreamlike-ocean in #18229
- Upgrade lz4-java to 1.13.0 by @yawkat in #18264
- Include TrustManager / KeyManager instances in TLS session id context computations by @chrisvest in #18256
- Honour qvalues when HttpContentCompressor selects the content encoding by @allthingssecurity in #17726
- Use HTTP dates in ReadOnlyHttp2Headers.containsTimeMillis by @wozhenbang2004 in #18271
- Avoid String.format in MacAddressUtil.formatAddress by @gsmet in #18172
- Initialize the hexadecimal tables of StringUtil lazily and cheaply by @gsmet in #18174
- Use the configured directory when creating disk attributes by @hellboy0621 in #18297
- SslHandler: Stop wrapping when the transport can not keep up by @normanmaurer in #18253
- Add agent command to deduplicate private vulnerability reports by @chrisvest in #18299
- Encode the char after an unpaired high surrogate in writeUtf8(...) by @b84330808 in #18252
- Close a QUIC stream reset by the remote peer once its output is ended by @vietj in #18313
- Use the real parameter names in argument-check messages by @Dhairya-007 in #18309
- Quic: don't permanently consume stream ids when createStream(...) fails by @Echo009 in #18311
- HTTP3: Reject invalid and connection-specific header fields by @Raghuvardhan-Reddy78 in #18298
- Security improvement - allow MqttDecoder's maxBytesInMessage to be changed by @jbertram in #18125
- Discard input after a failed Socks5PrivateAuthRequestDecoder decode by @Raghuvardhan-Reddy78 in #17945
- Call
handshakeFailure for failed TLS completion events by @gavinbunney in #18323
- Release the handshake response when a WebSocket extension is rejected by @lihanyu1715446406-afk in #18322
- Notify
LeakListener for every detected leak by @gavinbunney in #18324
- Avoid redundant flush scheduling after draining NIO writes by @hellboy0621 in #18296
- Get plain 'mvn compile' and 'test-compile' working by @chrisvest in #18300
- IoUring: Merge small buffers between large ones for SENDMSG_ZC by @dreamlike-ocean in #18250
- Check the range in ByteBuf.toString(index, length, charset) by @Marti2203 in #18156
- Fail the h2c upgrade stream for all header conversion errors by @yawkat in #18258
- Port 4.2: KQueue/Epoll: Fall back to buffered writes for non-FileChannelImpl channels (#18278) by @chrisvest in #18349
- Handle zero-length and invalid bulk reads in ByteBufInputStream by @wozhenbang2004 in #18272
- Avoid classloader leak via the shared TransferEncodingNotAllowedException by @cardamon in #18342
- Avoid classloader leak via the QPACK stream inactive exceptions by @cardamon in #18343
- Avoid classloader leak via ImmediateEventExecutor terminationFuture failure by @cardamon in #18338
- Fix float matching in read-only HTTP/2 headers by @wozhenbang2004 in #18294
- Fixed: Call
handshakeFailure for TLS timeouts and early closes by @chrisvest in #18363
- Keep adaptive buffer sizes within configured bounds by @leviYX in #18358
- Skip the renegotiation check for servers on BoringSSL and AWS-LC by @doom369 in #18337
- Canonicalize NaN values written by ByteBufOutputStream by @wozhenbang2004 in #18295
- Link synchronization.lib when building the QUIC codec on Windows by @normanmaurer in #18371
- Reject all control characters and DEL in HTTP response reason phrases by @qchole in #18331
- Key per-channel traffic shaping state by ChannelId instead of hashCode by @xh123637 in #18333
- Fix ZstdDecoder and ZstdDecompressor with a non-positive defaultMaxForwardBytes by @mkurz in #18289
- Fix accidental glibc version bump by @chrisvest in #18365
- Update BlockHound allowances for handleLoopException by @violetagg in #18380
- Evict DNS cache entries when expiration tasks are cancelled by @hellboy0621 in #18389
- Fix BrotliDecoder with a non-positive defaultMaxForwardBytes by @mkurz in #18378
- Convert known signature algorithm names without the regular expression by @doom369 in #18379
- Auto-port 4.2: Resume SslHandler when the delegated task was consumed elsewhere by @netty-project-bot in #18406
- Auto-port 4.2: Fix limit of bytes for gathering writes being ignored after the first buffer by @netty-project-bot in #18405
- Auto-port 4.2: Use the correct address length when sending batched datagrams to a domain socket by @netty-project-bot in #18410
- Reject negative session timeout and cache size in the QUIC SSLSessionContext by @Marti2203 in #18414
- Reject SPDY frames that do not fit the 24-bit length field by @Marti2203 in #18412
- Auto-port 4.2: Don't stop reading domain datagrams after an empty datagram by @netty-project-bot in #18408
- Share enabled protocols in openssl engine by @doom369 in #18388
- Query SSL_pending lazily in ReferenceCountedOpenSslEngine.unwrap by @doom369 in #18376
- Release messages written to a closed EmbeddedChannel by @kenpritchard in #18332
- IoUring: Fail when enabling the ring fails by @normanmaurer in #18216
- Pin rustc to 1.100.0 in docker images and workflows by @normanmaurer in #18422
- HAProxyMessageEncoder: Reject v2 headers longer than 65535 bytes by @Raghuvardhan-Reddy78 in #18428
New Contributors
Full Changelog: netty-4.2.20.Final...netty-4.2.21.Final
Contributors
chrisvest, vietj, and 26 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
kun272705 reacted with hooray emoji
1 person reacted
netty-4.1.141.Final
This release fixes a mistake in our build that affected Netty 4.2.20 and 4.1.140, where we accidentally increased the glibc version to 2.33 for x86_64 and aarch64.
In this release the glibc version requirements return to their previous versions.
What's Changed
Full Changelog: netty-4.1.140.Final...netty-4.1.141.Final
Contributors
chrisvest, normanmaurer, and 2 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
netty-4.2.20.Final
Contributors
chrisvest, daschl, and 28 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
kun272705 reacted with hooray emoji
1 person reacted
netty-4.1.140.Final
Contributors
chrisvest, normanmaurer, and 2 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
kun272705 and LI123456mo reacted with hooray emoji
2 people reacted
netty-4.2.19.Final
Security
Note that Netty 4.1 will be End-of-Life on July 1st, 2027.
We strongly recommend upgrading to this version to get the following security fixes:
- CVE-2026-XXXXX : parser desync in
io.netty:netty-codec-haproxy
- CVE-2026-XXXXX : improper CRLF neutralization (request/response smuggling) in
io.netty:netty-codec-http
- CVE-2026-XXXXX : origin validation error in
io.netty:netty-codec-http
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : request/response smuggling in
io.netty:netty-codec-http
- CVE-2026-XXXXX : time-of-check/time-of-use error in
io.netty:netty-handler-ssl-ocsp
- CVE-2026-XXXXX : SNI routing bypass in
io.netty:netty-handler
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-xml
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-base
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-http
- CVE-2026-XXXXX : input misinterpretation in
io.netty:netty-codec-socks
- CVE-2026-XXXXX : improper access control in
io.netty:netty-handler
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-dns
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-http3
- CVE-2026-XXXXX : use-after-free in
io.netty:netty-transport-classes-io_uring
- CVE-2026-XXXXX : memory leak in
io.netty:netty-transport-native-io_uring
Note that due to overwhelming strain on the CVE infrastructure, we have not gotten a single CVE number assigned to these reports in time for our release.
The advisories will be published without.
Specific changes worth calling out:
Validation in FileUpload.setContentType.
Previously, the FileUpload.setContentType methods did not validate their inputs.
They now throw an IllegaalArgumentException if the given string is not formatted as a plausible MIME content type.
What's Changed
- perf: Use LinkedHashSet to deduplicate search domains by @JunggiKim in #17400
- Handle non-positive skip lengths in ByteBufInputStream by @cuishuang in #17388
- Avoid double promise allocation in SslHandler.wrap() by @doom369 in #17382
- Socket: Add half-closure tests to SocketHalfClosedTest by @rajan-github in #17394
- HttpUtil.getCharset() must accept whitespace before the next Content-Type parameter by @hunseonglee in #17386
- codec-dns: Add SMIMEA, CDS, CDNSKEY, OPENPGPKEY, CSYNC, ZONEMD records by @hyperxpro in #17373
- transport: Avoid io_uring completion callback allocation by @massiccio in #17457
- QUIC: Ensure writable events reflect stream capacity by @yawkat in #17431
- OcspServerCertificateValidatorTest: Fix possible leak in test by @normanmaurer in #17469
- Use github to download cmake and also remove tar file after unpacking by @normanmaurer in #17482
- build: Upgrade GitHub Actions to fix Node.js 20 deprecation warnings by @normanmaurer in #17484
- HttpUtil.getMimeType() must not include whitespace before the next Content-Type parameter by @ohchanKyu in #17456
- Fix buffer leak when recvmmsg returns single UDP_GRO batch by @octa-one in #17493
- Guard ChunkedWriteHandler.doFlush() against re-entrant invocation from user code by @fudianchn in #17438
- Add regression test for close() cascade reentering flush() by @normanmaurer in #17497
- Fix UDP_GRO segment size is lost when reading with recvmmsg by @octa-one in #17492
- KQueueDatagramChannel: rewrite IPv4-wildcard bind to IPv6-any on dual-stack sockets by @normanmaurer in #17498
- Make CompositeBufferGatheringWriteTest robust against write/close race by @normanmaurer in #17508
- Add option to ignore MaxDirectMemorySize JVM argument by @franz1981 in #17177
- Only build affected Maven modules for PR verification by @normanmaurer in #17512
- Add workflow that will cancel running workflows for merged PRs by @normanmaurer in #17518
- Harden DnsNameResolverTest against transient null localAddress from TestDnsServer by @normanmaurer in #17514
- Fix flaky memory leak detection in OcspServerCertificateValidatorTest by @normanmaurer in #17524
- Cache docker build images in ghcr.io to speed up CI by @normanmaurer in #17530
- HTTP/2: Remove failed SETTINGS from ACK queue by @Gimini-3 in #17387
- Fix compilation on latest macOS 27.0 by @normanmaurer in #17529
- Make
IoEventLoopGroup.isCompatible/isIoType side-effect free by @idelpivnitskiy in #17544
- Fix flaky memory leak detection in OcspServerCertificateValidatorTest by @normanmaurer in #17536
- Reset busy counters after triggering an auto-scale-up decision by @normanmaurer in #17538
- Http2ConnectionRoundtripTest: Reduce timing sensitivity to fix CI flakiness by @normanmaurer in #17540
- ProtobufVarint32FrameDecoder must wait for more data when the length prefix is incomplete by @ohchanKyu in #17550
- QpackEncoder.sectionAcknowledgment must not NPE when dynamic table is disabled by @normanmaurer in #17537
- Fix missing readable-bytes check in SmtpResponseDecoder by @normanmaurer in #17516
- Guard against out-of-bounds reads when parsing ClientHello SNI extension by @normanmaurer in #17532
- Fix IndexOutOfBoundsException from mismatched varint length in Http3FrameCodec by @normanmaurer in #17523
- Fix missing readable-bytes checks in QuicHeaderParser by @normanmaurer in #17515
- Http2: Reserve promised stream before running the request verifier by @normanmaurer in #17495
- Fix HTTP/3 decoding of frames with zero length payloads by @violetagg in #17564
- DnsAddressResolverGroupTest: Use a mock DNS server instead of resolving netty.io over the network by @normanmaurer in #17566
- Use random generated LocalAddress in tests that use local transport by @normanmaurer in #17570
- POOL: Release Channel when SimpleChannelPool acquire is cancelled by @renechoi in #17569
- Fix missing per-entry clamp in IoUringBufferRing.useBuffer by @normanmaurer in #17568
- Reject incomplete PUSH_PROMISE request headers when validateRequiredPseudoHeaders is enabled by @normanmaurer in #17460
- Add regression tests for CANCEL_PUSH/GOAWAY/MAX_PUSH_ID trailing bytes by @normanmaurer in #17571
- Use 2 EventLoops when running our tests by default by @normanmaurer in #17567
- Fix flaky HttpToHttp2ConnectionHandlerTest.testChunkedRequestWithBodyAndTrailingHeaders by @normanmaurer in #17590
- Http2ConnectionHandler: report at most one stream error for a CompositeStreamException by @normanmaurer in #17470
- Http2MultiplexTransportTest: Fix possible SslContext leak in tests by @normanmaurer in #17597
- Restore configurable ioRatio-based task scheduling in SingleThreadIoEventLoop by @normanmaurer in #17481
- Support creating a PropertyKey that is not tied to a specific Http2Connection by @normanmaurer in #17594
- Reset LengthFieldBasedFrameDecoder state when the frame is shorter than initialBytesToStrip by @allthingssecurity in #17606
- Auto-port 4.2: SingleThreadEventExecutor: fix ra...
Read more
Contributors
chrisvest, lhotari, and 25 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
kun272705, LI123456mo, and wendigo reacted with hooray emoji
3 people reacted
netty-4.1.139.Final
Security
Note that Netty 4.1 will be End-of-Life on July 1st, 2027.
We strongly recommend upgrading to this version to get the following security fixes:
- CVE-2026-XXXXX : parser desync in
io.netty:netty-codec-haproxy
- CVE-2026-XXXXX : improper CRLF neutralization (request/response smuggling) in
io.netty:netty-codec-http
- CVE-2026-XXXXX : origin validation error in
io.netty:netty-codec-http
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : request/response smuggling in
io.netty:netty-codec-http
- CVE-2026-XXXXX : time-of-check/time-of-use error in
io.netty:netty-handler-ssl-ocsp
- CVE-2026-XXXXX : SNI routing bypass in
io.netty:netty-handler
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-xml
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-base
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-http
- CVE-2026-XXXXX : input misinterpretation in
io.netty:netty-codec-socks
- CVE-2026-XXXXX : improper access control in
io.netty:netty-handler
- CVE-2026-XXXXX : unbounded resource consumption in
io.netty:netty-codec-dns
Note that due to overwhelming strain on the CVE infrastructure, we have not gotten a single CVE number assigned to these reports in time for our release.
The advisories will be published without.
Specific changes worth calling out:
Validation in FileUpload.setContentType.
Previously, the FileUpload.setContentType methods did not validate their inputs.
They now throw an IllegaalArgumentException if the given string is not formatted as a plausible MIME content type.
What's Changed
Read more
Contributors
normanmaurer, rsvoboda, and netty-project-bot
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
kun272705 reacted with hooray emoji
LI123456mo reacted with heart emoji
All reactions
-
🎉
1 reaction
-
❤️
1 reaction
2 people reacted
netty-4.2.18.Final
Security fixes
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http (SPDY)
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http (HTTP/1.1)
- CVE-2026-XXXXX : denial of service vector in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper certificate validation in
io.netty:netty-handler-ssl-ocsp
- CVE-2026-XXXXX : memory leak in
io.netty:netty-codec-stomp
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http3
- CVE-2026-XXXXX : denial of service vector in
io.netty:netty-codec-stomp
- CVE-2026-XXXXX : parser desync/response smuggling in
io.netty:netty-codec-memcache
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http3
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http3
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http3
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-smtp
- CVE-2026-XXXXX : memory leak in
io.netty:netty-codec-haproxy
- CVE-2026-XXXXX : request smuggling in
io.netty:netty-codec-http (RTSP)
- CVE-2026-XXXXX : request smuggling in
io.netty:netty-codec-http (HTTP/1)
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http (HTTP/1)
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http3
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http3 and in io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper hostname verification in
io.netty:netty-codec-classes-quic
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-redis
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http (HTTP/1.1)
- CVE-2026-XXXXX : request smuggling vector in
io.netty:netty-codec-http (HTTP/1.1)
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-mqtt
- CVE-2026-XXXXX : improper CRLF neutralization in
io.netty:netty-codec-smtp
- CVE-2026-XXXXX : improper certificate validation in
io.netty:netty-handler-ssl-ocsp
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
Compatibility Notes
A number of security fixes have added additional validation and impose new resource usage limits, which may cause existing workloads to fail or be rejected. We recommend that you test your systems thoroughly as part of your Netty upgrade.
Two specific changes are worth calling out:
QUIC now explicitly requires X509ExtendedTrustManager when hostname verification is enabled.
Previously, when configuring QUIC with an endpoint identification algorithm and an X509TrustManager, hostname verification would be silently skipped.
This is now considered a misconfiguration and an exception will be thrown.
HTTP/2 header value validation is now enabled by default.
HTTP/2 header name validation has always been enabled by default, with an option to disable it, but HTTP/2 header value validation has been disabled by default until now. Configuration options still exist to disable this, but validation of HTTP header names and values are now both opt-in by default rather than opt-out.
What's Changed
Read more
Contributors
chrisvest, marcphilipp, and 18 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
ForClipso reacted with thumbs up emoji
1 person reacted
netty-4.1.138.Final
Security fixes
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http (SPDY)
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http (HTTP/1.1)
- CVE-2026-XXXXX : denial of service vector in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper certificate validation in
io.netty:netty-handler-ssl-ocsp
- CVE-2026-XXXXX : memory leak in
io.netty:netty-codec-stomp
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-http
- CVE-2026-XXXXX : denial of service vector in
io.netty:netty-codec-stomp
- CVE-2026-XXXXX : parser desync/response smuggling in
io.netty:netty-codec-memcache
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-smtp
- CVE-2026-XXXXX : memory leak in
io.netty:netty-codec-haproxy
- CVE-2026-XXXXX : request smuggling in
io.netty:netty-codec-http (RTSP)
- CVE-2026-XXXXX : request smuggling in
io.netty:netty-codec-http (HTTP/1)
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-redis
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http (HTTP/1.1)
- CVE-2026-XXXXX : request smuggling vector in
io.netty:netty-codec-http (HTTP/1.1)
- CVE-2026-XXXXX : unbounded resource usage in
io.netty:netty-codec-mqtt
- CVE-2026-XXXXX : improper CRLF neutralization in
io.netty:netty-codec-smtp
- CVE-2026-XXXXX : improper certificate validation in
io.netty:netty-handler-ssl-ocsp
- CVE-2026-XXXXX : improper header validation in
io.netty:netty-codec-http2
Compatibility note
HTTP/2 header value validation is now enabled by default.
HTTP/2 header name validation has always been enabled by default, with an option to disable it, but HTTP/2 header value validation has been disabled by default until now.
Configuration options still exist to disable this, but validation of HTTP header names and values are now both opt-in by default rather than opt-out.
What's Changed
Full Changelog: netty-4.1.137.Final...netty-4.1.138.Final
Contributors
chrisvest, normanmaurer, and 2 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
LI123456mo reacted with thumbs up emoji
1 person reacted
netty-clang-bin
8b72847
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Pre-build clang to use for centos7
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
netty-4.1.137.Final
Contributors
chrisvest, normanmaurer, and 3 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
|