[FLINK-40071][build] Bump jackson-bom to 2.21.5#28637
Conversation
jackson-databind 2.21.3 is affected by several recently published CVEs (CVE-2026-54512 through 54518). 2.21.4 fixes all of them except CVE-2026-54515, which has no released fix in any 2.x line yet. Update the NOTICE files of the modules bundling non-shaded jackson. Generated-by: Claude Code (claude-fable-5)
existence of CVE in 3rd party doesn't necessary mean Flink is impacted if we bump dependency now it doesn't mean a new Flink release, which means nothing is changed for end user. So the question: why we should update now rather than wait for full fix from jackson and update? |
|
Ok will move to draft, and add this to the JIRA. Will open with the latest version close to the release. |
|
I think also we should first bump Jackson etc in flink-shaded before doing it inside of Flink itself |
|
PR in shaded is present apache/flink-shaded#160 |
That was also a reason I created the PR, the shaded is already having a PR to move to 2.21.4. https://github.com/apache/flink-shaded/pull/160/changes |
|
Ah good, let's then wait for a definitive fix and address everything in one go |
|
2.21.5 have been released. Will see if its CVE free. |
jackson-databind 2.21.4 still carried CVE-2026-54515, which had no released fix at the time. 2.21.5 is now released and fixes it (GHSA-5jmj-h7xm-6q6v: vulnerable range >= 2.19.0, < 2.21.5), so the 2.x line is now clear of all seven recently disclosed CVEs. Update the NOTICE files of the modules bundling non-shaded jackson. Generated-by: Claude Code (claude-fable-5)
What is the purpose of the change
jackson-databind 2.21.3 was affected by several recently published CVEs (CVE-2026-54512 through 54518). 2.21.4 fixed all of them except CVE-2026-54515, which had no released fix in any jackson 2.x line at the time. jackson-databind 2.21.5 has since been released and fixes CVE-2026-54515 (GHSA-5jmj-h7xm-6q6v: vulnerable range
>= 2.19.0, < 2.21.5), so bumping to 2.21.5 clears all seven CVEs.Brief change log
jackson-bom.version2.21.3 → 2.21.5 in the root pomVerifying this change
This change is a dependency version bump without code changes. The affected bundling modules build cleanly, and the bundled jackson-databind version inside the shaded jars (flink-kubernetes, flink-s3-fs-hadoop) was verified to be 2.21.5 via the relocated
PackageVersion.class.Does this pull request potentially affect one of the following parts:
@Public(Evolving): (no)Documentation
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (claude-fable-5)