GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs by lhotari · Pull Request #25670 · apache/pulsar

Conversation

@lhotari

@lhotari lhotari commented May 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Motivation

This PR upgrades Netty to 4.1.133.Final (released 2026-05-04) and netty-tcnative to 2.0.77.Final to 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:

  • CVE-2026-42586 (netty-codec-redis)
  • CVE-2026-42578 (netty-handler-proxy)
  • CVE-2026-42587 (netty-codec-http, netty-codec-http2)
  • CVE-2026-41417 (netty-codec-http)
  • CVE-2026-42581 (netty-codec-http)
  • CVE-2026-42580 (netty-codec-http)
  • CVE-2026-42585 (netty-codec-http)
  • CVE-2026-42579 (netty-codec-dns)
  • CVE-2026-42582 (netty-codec-http3)
  • CVE-2026-42583 (netty-codec, netty-codec-compression)
  • CVE-2026-42584 (netty-codec-http)
  • additional CVE in netty-codec-mqtt

Notable bug fixes also included in 4.1.133.Final

  • Fix IndexOutOfBoundsException in StompSubframeDecoder on heartbeat
  • Kqueue sendfile fix preventing data duplication
  • PemReader memory leak prevention during OutOfDirectMemoryError
  • Native DNS resolver safeguards against malloc failures
  • MQTT properties isEmpty now considers user properties and subscription IDs
  • HTTP chunk parsing with multiple extensions corrected
  • Epoll error handling standardized to return negative values
  • HTTP/2 stream error handling for maxContentLength violations
  • HTTP/2 preface transmission ensured as initial message (client and server)
  • NPE prevention in JdkSslServerContext and JdkSslClientContext
  • netty-tcnative upgraded to 2.0.77.Final

netty-tcnative 2.0.75.Final → 2.0.77.Final

Full changelog. Highlights:

  • OpenSSL upgraded from 3.1.6 to 3.6.1 for the static/dynamic OpenSSL builds
  • Memory safety / native robustness fixes:
    • Fix Use-After-Free / dangling pointer when using session tickets with OpenSSL 3.x (#964)
    • Fix memory leak in setSessionTicketKeys0 when GetByteArrayElements fails (#957)
    • Don't leak CRYPTO_BUFFER when GetByteArrayElements returns NULL during decompression (#959)
    • Guard against malloc failures when configuring ALPN and NPN (#958)
    • setCurves(...) checks for GetIntArrayElements returning NULL (#960)
    • Guard against GetStringUTFChars(...) returning NULL (#973)
    • Free buffer correctly if push fails (#966)
    • Always clear global reference to the verifier (#967)
    • Correctly track array length / cert count when using async verifier (#970)
    • Delete local references inside loops to avoid local-ref overflow (#972)
    • Clear pending exception in keylog_cb (#971)
    • SSL_CTX_set_info_callback called only once per context (#963)
    • Fix UB caused by uninitialized proto_len before reading (#961)
    • Fix wrong format specifier causing UB (#955)
    • Correctly respect return value of apr_thread_rwlock_create (#965)
  • Behavior / API:
    • Add SSL.getVersionInt to avoid string allocation on initial SSL handshake (#954)
    • Fall back to the correct protocol (#969)
    • More descriptive exception when SSLContext.make(...) fails (#976)
  • Build / packaging:
    • Build against OpenSSL 3.6 for dynamic linking (#952)
    • Correctly build boringssl-static for linux aarch64 (#975)
    • Ensure locks are usable when cross-compiling (#977)
    • Fix creation of docker image for cross compilation (#956)
    • Fix missing semicolon causing compile errors on old OpenSSL versions (#962)

Modifications

  • Bump netty from 4.1.132.Final to 4.1.133.Final in gradle/libs.versions.toml
  • Bump netty-tcnative from 2.0.75.Final to 2.0.77.Final in gradle/libs.versions.toml
  • Update distribution/server/src/assemble/LICENSE.bin.txt and distribution/shell/src/assemble/LICENSE.bin.txt to reflect new Netty/tcnative versions

Verifying this change

  • Make sure that the change passes the CI checks.

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

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Upgrades the netty (4.1.132.Final -> 4.1.133.Final) and netty-tcnative (2.0.75.Final -> 2.0.77.Final) dependencies. The tcnative bump also pulls in OpenSSL 3.1.6 -> 3.6.1 for the bundled OpenSSL builds.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lhotari
[fix][sec] Upgrade Netty to 4.1.133 to address CVEs
52c772d
@lhotari
lhotari requested review from Technoboy-, dao-jun, merlimat and nodece May 5, 2026 06:29
dao-jun
dao-jun approved these changes May 5, 2026
View reviewed changes
@lhotari
lhotari merged commit a6a4678 into apache:master May 5, 2026
44 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@lhotari lhotari added this to the 5.0.0-M1 milestone May 5, 2026
@lhotari lhotari added release/4.1.4 release/3.0.18 release/4.2.2 labels May 5, 2026
lhotari added a commit that referenced this pull request May 5, 2026
@lhotari
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (#25670)
88cca9f
(cherry picked from commit a6a4678)
@lhotari lhotari added the cherry-picked/branch-4.2 label May 5, 2026
lhotari added a commit that referenced this pull request May 5, 2026
@lhotari
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (#25670)
e45ccaa
(cherry picked from commit a6a4678)
@lhotari lhotari added the cherry-picked/branch-4.1 label May 5, 2026
lhotari added a commit that referenced this pull request May 5, 2026
@lhotari
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (#25670)
b8efeff
(cherry picked from commit a6a4678)
@lhotari lhotari added release/4.0.11 cherry-picked/branch-4.0 labels May 5, 2026
lhotari added a commit that referenced this pull request May 5, 2026
@lhotari
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (#25670)
55ab5e9
(cherry picked from commit a6a4678)
@lhotari lhotari added the cherry-picked/branch-3.0 label May 5, 2026
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request May 5, 2026
@lhotari @manas-ctds
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
404b233
(cherry picked from commit a6a4678)
(cherry picked from commit b8efeff)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 5, 2026
@lhotari @srinath-ctds
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
74e54ce
(cherry picked from commit a6a4678)
(cherry picked from commit b8efeff)
priyanshu-ctds pushed a commit to datastax/pulsar that referenced this pull request May 5, 2026
@lhotari @priyanshu-ctds
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
67738e7
(cherry picked from commit a6a4678)
(cherry picked from commit 55ab5e9)
poorbarcode pushed a commit to poorbarcode/pulsar that referenced this pull request May 6, 2026
@lhotari @poorbarcode
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
71ce6bc
nodece pushed a commit to ascentstream/pulsar that referenced this pull request May 12, 2026
@lhotari @nodece
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
8a8d612
(cherry picked from commit a6a4678)
nodece pushed a commit to ascentstream/pulsar that referenced this pull request May 27, 2026
@lhotari @nodece
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
5ab65f5
(cherry picked from commit a6a4678)
nodece pushed a commit to ascentstream/pulsar that referenced this pull request Nov 16, 2026
@lhotari @nodece
[fix][sec] Upgrade Netty to 4.1.133.Final to address CVEs (apache#25670)
8f82686
(cherry picked from commit a6a4678)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dao-jun dao-jun dao-jun approved these changes
@merlimat merlimat Awaiting requested review from merlimat
@nodece nodece Awaiting requested review from nodece
@Technoboy- Technoboy- Awaiting requested review from Technoboy-

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cherry-picked/branch-3.0 cherry-picked/branch-4.0 cherry-picked/branch-4.1 cherry-picked/branch-4.2 release/3.0.18 release/4.0.11 release/4.1.4 release/4.2.2

Projects

None yet

Milestone

5.0.0-M1

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lhotari @dao-jun
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.