[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs - #25670
Merged
Conversation
dao-jun
approved these changes
May 5, 2026
lhotari
added a commit
that referenced
this pull request
May 5, 2026
(cherry picked from commit a6a4678)
lhotari
added a commit
that referenced
this pull request
May 5, 2026
(cherry picked from commit a6a4678)
lhotari
added a commit
that referenced
this pull request
May 5, 2026
(cherry picked from commit a6a4678)
lhotari
added a commit
that referenced
this pull request
May 5, 2026
(cherry picked from commit a6a4678)
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
May 6, 2026
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
May 12, 2026
(cherry picked from commit a6a4678)
nodece
pushed a commit
to ascentstream/pulsar
that referenced
this pull request
May 27, 2026
(cherry picked from commit a6a4678)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This PR upgrades Netty to 4.1.133.Final (released 2026-05-04) and
netty-tcnativeto2.0.77.Finalto pick up multiple security fixes and bug fixes.Security fixes addressed by Netty 4.1.133.Final
Per the Netty 4.1.133.Final release notes, this release addresses the following CVEs:
netty-codec-redis)netty-handler-proxy)netty-codec-http,netty-codec-http2)netty-codec-http)netty-codec-http)netty-codec-http)netty-codec-http)netty-codec-dns)netty-codec-http3)netty-codec,netty-codec-compression)netty-codec-http)netty-codec-mqttNotable bug fixes also included in 4.1.133.Final
IndexOutOfBoundsExceptioninStompSubframeDecoderon heartbeatPemReadermemory leak prevention duringOutOfDirectMemoryErrorisEmptynow considers user properties and subscription IDsmaxContentLengthviolationsJdkSslServerContextandJdkSslClientContextnetty-tcnativeupgraded to2.0.77.Finalnetty-tcnative 2.0.75.Final → 2.0.77.Final
Full changelog. Highlights:
setSessionTicketKeys0whenGetByteArrayElementsfails (#957)CRYPTO_BUFFERwhenGetByteArrayElementsreturns NULL during decompression (#959)setCurves(...)checks forGetIntArrayElementsreturning NULL (#960)GetStringUTFChars(...)returning NULL (#973)keylog_cb(#971)SSL_CTX_set_info_callbackcalled only once per context (#963)proto_lenbefore reading (#961)apr_thread_rwlock_create(#965)SSL.getVersionIntto avoid string allocation on initial SSL handshake (#954)SSLContext.make(...)fails (#976)boringssl-staticfor linux aarch64 (#975)Modifications
nettyfrom4.1.132.Finalto4.1.133.Finalingradle/libs.versions.tomlnetty-tcnativefrom2.0.75.Finalto2.0.77.Finalingradle/libs.versions.tomldistribution/server/src/assemble/LICENSE.bin.txtanddistribution/shell/src/assemble/LICENSE.bin.txtto reflect new Netty/tcnative versionsVerifying this change
This change is a trivial rework / code cleanup without any test coverage. It is a pure dependency version bump; existing tests exercise the affected Netty code paths.
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Upgrades the
netty(4.1.132.Final->4.1.133.Final) andnetty-tcnative(2.0.75.Final->2.0.77.Final) dependencies. The tcnative bump also pulls in OpenSSL3.1.6->3.6.1for the bundled OpenSSL builds.