Skip to content

[hotfix][build] Bump netty to 4.2.15.Final - #28363

Merged
snuyanzin merged 1 commit into
apache:masterfrom
spuru9:bump-netty-4.2.15-cve
Jun 29, 2026
Merged

[hotfix][build] Bump netty to 4.2.15.Final#28363
snuyanzin merged 1 commit into
apache:masterfrom
spuru9:bump-netty-4.2.15-cve

Conversation

@spuru9

@spuru9 spuru9 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

Bump io.netty:netty-bom from 4.2.13.Final to 4.2.15.Final to keep the Netty modules Flink uses on a current patch release (non-shaded scope). Follows the prior bump in #28124.

Brief change log

  • pom.xml: bump netty-bom 4.2.13.Final → 4.2.15.Final
  • Update matching META-INF/NOTICE entries in flink-rpc-akka, flink-python, and flink-s3-fs-native so NoticeFileChecker passes

Scope

Non-shaded only, mirroring the prior PR #28072 / FLINK-39580 split and #28124. The runtime networking path that flows through flink-shaded-netty (currently 4.2.6.Final) is updated separately in the flink-shaded repo and is not addressed here.

Verifying this change

This change is a dependency version bump with no code changes; it is covered by the existing test suite and CI, including NoticeFileChecker, which validates the updated META-INF/NOTICE files against the bundled dependencies.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): yes
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no (NOTICE-only update)

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

AI Disclosure

  • I confirm that AI agents (e.g. Cursor, Claude code, Github Copilot) were used in the process of creating this PR. Tool: Claude Code.

@spuru9 spuru9 changed the title [hotfix][build] Bump netty to 4.2.15.Final (CVEs) [hotfix][build] Bump netty to 4.2.15.Final Jun 9, 2026
@spuru9
spuru9 force-pushed the bump-netty-4.2.15-cve branch from 089792c to 9f0b38f Compare June 9, 2026 09:51
@flinkbot

flinkbot commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@raminqaf raminqaf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the contribution! I was wondering if the dependency's patch bump fixes anything related to Flink. We need to wait for the CI

@spuru9

spuru9 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the contribution! I was wondering if the dependency's patch bump fixes anything related to Flink. We need to wait for the CI

Its green.

@github-actions github-actions Bot added the community-reviewed PR has been reviewed by the community. label Jun 9, 2026
@spuru9
spuru9 requested a review from raminqaf June 10, 2026 07:17
@spuru9

spuru9 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

@raminqaf Can you help with a re-review

@spuru9

spuru9 commented Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

The PR address some of the CVEs, full details in https://github.com/netty/netty/releases/tag/netty-4.2.15.Final, have DMed you the specific to flink.

@spuru9

spuru9 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

@snuyanzin Can you merge this as well while you are updating the shaded repo.

@adealjason

adealjason commented Jun 21, 2026 via email

Copy link
Copy Markdown

@spuru9

spuru9 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

@raminqaf Can you recheck this PR.

@snuyanzin
snuyanzin merged commit f75b594 into apache:master Jun 29, 2026
@MartijnVisser

Copy link
Copy Markdown
Contributor

For a next time, shall we not do version bumps via hotfixes?

@snuyanzin

Copy link
Copy Markdown
Contributor

makes sense, thanks for raising
noted

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

Labels

community-reviewed PR has been reviewed by the community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants