[FLINK-39713] Bump log4j, jackson, and Beam to retire CVEs#1114
Open
spuru9 wants to merge 2 commits into
Open
Conversation
b7c92ff to
247c643
Compare
Patch/minor bumps within the same major lines to retire CVEs flagged by Trivy: - log4j 2.25.4 clears CVE-2025-68161, CVE-2026-34477, CVE-2026-34478, CVE-2026-34479, CVE-2026-34480 across every module that consumes ${log4j.version}. - jackson-bom 2.21.3 (latest 2.x stable) clears GHSA-72hv-8253-57qq for jackson-core/jackson-databind consumers in flink-kubernetes-operator and flink-kubernetes-operator-api. Both are direct version bumps in the root pom; no dependencyManagement overrides on transitives.
Beam 2.73.0 is the latest stable as of 2026-04-23 and still publishes beam-runners-flink-1.19, so this is a single property edit with no API surface changes in the example. Picks up patched copies of the example-scoped transitives Trivy flagged (kaml, okio, wire-runtime, kafka-clients, opentelemetry-api, spring-core, spring-expression, and the parallel Netty copy that comes through Beam). Scope is the example module only; the shipped operator image is unaffected. No dependencyManagement overrides on transitives.
247c643 to
689f847
Compare
Contributor
Author
|
@Dennis-Mircea Can you help with a review. |
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.
What is the purpose of the change
Retire CVEs flagged by Trivy by bumping three direct dependencies. No
<dependencyManagement>overrides on transitives.JIRA: FLINK-39713
Brief change log
pom.xml:log4j.version2.23.1 → 2.25.4pom.xml:jackson-bom2.15.0 → 2.18.6examples/flink-beam-example/pom.xml:beam.version2.62.0 → 2.73.0 — clears most example-only transitive CVEsResidual Netty / lz4-java / commons-lang3 CVEs come through
flink-runtimeand need a future Flink minor with Netty ≥ 4.1.133.Verifying this change
Covered by existing tests. Verified locally with
./mvnw verifyandtrivy fs --scanners vuln ..Does this pull request potentially affect one of the following parts:
Documentation