Skip to content

Upgrade Netty to 4.1.139.Final and manage it via netty-bom - #16268

Closed
deepika-lalwani123 wants to merge 1 commit into
developfrom
upgrade-netty-4.1.139
Closed

deepika-lalwani123 wants to merge 1 commit into
developfrom
upgrade-netty-4.1.139

Conversation

@deepika-lalwani123

Copy link
Copy Markdown
Contributor

Bump netty.version from 4.1.75.Final to 4.1.139.Final and import io.netty:netty-bom in dependencyManagement instead of pinning only netty-buffer, netty-codec-http and netty-all.

Previously, netty artifacts reached transitively (e.g. netty-handler and netty-resolver via io.cdap.http:netty-http in
cdap-runtime-ext-dataproc) were not managed and still resolved to 4.1.75.Final. With the BOM, all io.netty artifacts in cdap-master and the runtime/credential/securestore extensions resolve to the same version.

This fixes public image vulnerability findings for netty-* jars in CDAP master/UI lib and the extensions built from this repository. Plugin artifacts that bundle their own netty (kafka-plugins, google-cloud, wrangler, datastream-delta) and events-writer-extension need separate upgrades.

This is an upgrade within the 4.1 line, which keeps API compatibility. Notable behavior changes since 4.1.75 are stricter HTTP header/chunk validation and HTTP/2 rapid-reset protection.

Bump netty.version from 4.1.75.Final to 4.1.139.Final
and import io.netty:netty-bom in dependencyManagement instead of
pinning only netty-buffer, netty-codec-http and netty-all.

Previously, netty artifacts reached transitively (e.g. netty-handler
and netty-resolver via io.cdap.http:netty-http in
cdap-runtime-ext-dataproc) were not managed and still resolved to
4.1.75.Final. With the BOM, all io.netty artifacts in cdap-master and
the runtime/credential/securestore extensions resolve to the same
version.

This fixes public image vulnerability findings for netty-* jars in
CDAP master/UI lib and the extensions built from this repository.
Plugin artifacts that bundle their own netty (kafka-plugins,
google-cloud, wrangler, datastream-delta) and events-writer-extension
need separate upgrades.

This is an upgrade within the 4.1 line, which keeps API compatibility.
Notable behavior changes since 4.1.75 are stricter HTTP header/chunk
validation and HTTP/2 rapid-reset protection.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the netty.version from 4.1.75.Final to 4.1.139.Final in pom.xml and replaces individual Netty dependencies with the netty-bom import to ensure version consistency across transitive Netty artifacts. I have no feedback to provide as there are no review comments.

@deepika-lalwani123 deepika-lalwani123 added the build Triggers github actions build label Oct 23, 2026
@deepika-lalwani123

Copy link
Copy Markdown
Contributor Author

Superseded by the planned CVE-fix stack for 6.11.2. The netty change is now in #16306 (netty 4.1.137.Final via netty-bom), together with #16302–#16312. Closing this PR in favor of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Triggers github actions build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants