Skip to content

[FLINK-39570] Bump Jackson to 2.18.10 (release-20.0) - #166

Merged
rmetzger merged 2 commits into
apache:release-20.0from
spuru9:cf-4067-jackson-2.18.10
Aug 19, 2026
Merged

[FLINK-39570] Bump Jackson to 2.18.10 (release-20.0)#166
rmetzger merged 2 commits into
apache:release-20.0from
spuru9:cf-4067-jackson-2.18.10

Conversation

@spuru9

@spuru9 spuru9 commented Aug 19, 2026

Copy link
Copy Markdown

What

Bump the bundled Jackson on the release-20.0 line from 2.18.2 to 2.18.10, and update the affected NOTICE files and hardcoded module version coordinates to match.

Why

2.18.10 is the current 2.18.x maintenance release and carries fixes for a series of jackson-databind / jackson-core CVEs and GHSA advisories reported against 2.18.2:

2.18.10 clears every one of these 2.18.x fix thresholds. Because flink-shaded bundles (relocates) Jackson, consumers of flink-shaded-jackson / flink-shaded-jackson-module-jsonSchema / flink-shaded-swagger can only pick up these fixes via a rebuild of the shaded artifacts from a bumped source branch — the bundled copy is invisible to downstream dependencyManagement.

Changes

  • pom.xmljackson.version 2.18.22.18.10.
  • flink-shaded-jackson-parent/pom.xml — hardcoded <version>2.18.2-20.0</version>2.18.10-20.0 (this module's version coordinate is <jackson.version>-<flink-shaded-revision> by convention, not a resolvable property).
  • flink-shaded-jackson-parent/flink-shaded-jackson-2/pom.xml, flink-shaded-jackson-parent/flink-shaded-jackson-module-jsonSchema-2/pom.xml, flink-shaded-jackson-parent/flink-shaded-jsonpath/pom.xml — matching <parent><version> bump to 2.18.10-20.0.
  • flink-shaded-jackson-parent/flink-shaded-jackson-2/src/main/resources/META-INF/NOTICE — 8 bundled com.fasterxml.jackson.* version lines → 2.18.10.
  • flink-shaded-jackson-parent/flink-shaded-jackson-module-jsonSchema-2/src/main/resources/META-INF/NOTICE — 4 bundled com.fasterxml.jackson.* version lines → 2.18.10.
  • flink-shaded-swagger/src/main/resources/META-INF/NOTICE — the 2 bundled com.fasterxml.jackson.* lines → 2.18.10. This module imports com.fasterxml.jackson:jackson-bom:${jackson.version} in dependencyManagement, so the bump changes the Jackson it bundles too.
  • .github/workflows/ci.ymlactions/setup-java v2v5 (java-version: 8 unchanged). v2's bundled Maven-cache client fails against GitHub's current cache-service backend with Cache service responded with 400, breaking CI on release-20.0 before any build step runs; master's workflow already moved past v2 independently of this change.

Verification

Built with Java 21 / Maven 3.9.4 (mvn clean install -DskipTests -Plicense-check equivalent reactor, against Maven Central):

  • BUILD SUCCESS across all 16 modules.
  • flink-shaded-jackson-2-2.18.10-20.0.jar bundles Jackson 2.18.10, keeps the org.apache.flink.shaded.jackson2.com.fasterxml.jackson relocation, and shows no un-relocated com/fasterxml/jackson leakage.
  • license-check profile (NoticeFileChecker) passes with the updated NOTICE files.

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Claude Code (claude-sonnet-5)

Bump jackson.version from 2.18.2 to 2.18.10 to pick up fixes for a
series of jackson-databind/jackson-core CVEs and GHSA advisories
(Confluent CF-4067, CF-4063, CF-4060, CF-4057, CF-3897, CF-3892,
CF-3887, CF-3882), and update every bundled-dependency NOTICE and
module version coordinate to match the newly bundled Jackson version.

Jackson is bundled (relocated) by flink-shaded-jackson-2 and
flink-shaded-jackson-module-jsonSchema-2, and partially bundled by
flink-shaded-swagger (jackson-dataformat-yaml, jackson-datatype-jsr310)
via the shared com.fasterxml.jackson:jackson-bom import in
dependencyManagement. Because flink-shaded bundles (relocates)
Jackson, consumers of these shaded artifacts can only pick up the
fixes via a rebuild from a bumped source branch.

All three NOTICE files are updated so the upstream license check
(NoticeFileChecker) stays green. flink-shaded-jackson-parent's own
<version> coordinate (and the matching <parent><version> in its
flink-shaded-jackson-2, flink-shaded-jackson-module-jsonSchema-2, and
flink-shaded-jsonpath children) is hardcoded as
<jackson.version>-<flink-shaded-revision> by convention, so it is
bumped from 2.18.2-20.0 to 2.18.10-20.0 alongside the property.

@rmetzger rmetzger 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.

LGTM, thx

@snuyanzin snuyanzin 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.

@spuru9 why do we need it?
we do not do fix releases, it is pure internal tool

@rmetzger

Copy link
Copy Markdown
Contributor

Please see #165 (comment)

@snuyanzin

Copy link
Copy Markdown
Contributor

ok if you want to maintain/release it
then i'm ok with that

actions/setup-java@v2 bundles an old @actions/cache client that
fails against GitHub's cache-service backend with
"Cache service responded with 400", breaking CI on release-20.0
before any build step runs. master already moved past this on its
own workflow; this brings release-20.0's Java 8 build workflow in
line, keeping java-version: 8 unchanged.
@rmetzger
rmetzger merged commit 73a7ba0 into apache:release-20.0 Aug 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants