Skip to content

fix(jackson-databind): upgrade to 2.18.12 to address CVEs - #20201

Draft
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
jackson-core-2.18.12-cvesfrom
jackson-2.18.12-cves
Draft

Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
jackson-core-2.18.12-cvesfrom
jackson-2.18.12-cves

Conversation

@Kanishk-Bansal

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) commented Nov 12, 2026 •

Copy link
Copy Markdown

Summary

Update jackson-databind from 2.18.2 to 2.18.12 by pinning to Fedora f44 (f43 is still on 2.18.2):

Stack: jackson-bom + jackson-annotations (#20258) → jackson-core (#20259) → jackson-databind (#20201).

The jackson update is split by build dependency: jackson-core 2.18.12 build-requires jackson-bom/jackson-base 2.18.12, and jackson-databind also build-requires jackson-annotations and jackson-core 2.18.12. The PR check scratch build starts every package in a PR at once against the current 4.0 repo, so one PR per layer lets each layer build after the one below it has merged.

CVEs addressed (12)

CVE Severity How the fix was verified
CVE-2026-19032 Medium GHSA-wjgm-6hv5-3cvf: patched in 2.18.10
CVE-2026-54512 High GHSA-j3rv-43j4-c7qm: patched in 2.18.8
CVE-2026-54513 High GHSA-rmj7-2vxq-3g9f: patched in 2.18.8
CVE-2026-54514 Medium GHSA-hgj6-7826-r7m5: patched in 2.18.8
CVE-2026-54515 Medium GHSA-5jmj-h7xm-6q6v: patched in 2.18.9
CVE-2026-59888 Medium GHSA-3pjw-73gf-8qr5: patched in 2.18.8
CVE-2026-59889 Medium GHSA-5gvw-p9qm-jgwh: patched in 2.18.9
CVE-2026-68497 High GHSA-q4xh-88c3-wmh7: patched in 2.18.10
CVE-2026-83557 Medium GHSA-gx83-3vf8-gh7j: patched in 2.18.10
CVE-2026-91776 High GHSA-wv8q-qhhj-9h54: patched in 2.18.11
CVE-2026-91777 High GHSA-cxp5-3px4-pw24: patched in 2.18.11
CVE-2026-110879 Critical CVE.org: affected before 2.18.12 (advisory)

Notes

  • Each pin uses upstream-distro = { name = "fedora", version = "44" }. 4.0's jackson-parent 2.18.1 already satisfies the new BOM.
  • Severity and ranges for CVE-2026-110879 come from CVE.org (affected before 2.18.12).

Changes

  • base/comps/jackson-databind/jackson-databind.comp.toml: new comp file with the f44 pin (moved out of the inline components.toml entry)
  • locks/jackson-databind.lock, specs/j/jackson-databind/: refreshed and re-rendered

Testing

  • Local chain build in mock (azldev, --local-repo-with-publish) of the whole stack in dependency order: jackson-bom and jackson-annotations 2.18.12-5, then jackson-core 2.18.12-5, then jackson-databind 2.18.12-5. All built.
  • jackson-annotations ran its unit tests during the build: 60 run, 0 failures, 0 errors. The Fedora jackson-core and jackson-databind specs build with %mvn_build -f (tests skipped), and jackson-bom has no tests.
  • Lock and render drift checks are clean (azldev comp update --check-only).
  • PR check scratch build: runs on fix(jackson): update jackson-bom and jackson-annotations to 2.18.12 #20258 now; each upper layer is scratch-built after the layer below it merges and this PR is retargeted to 4.0.

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added security CVE-fixed-by-upgrade CVE fixed by package upgrade 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Nov 12, 2026
Copilot AI balanced review requested due to automatic review settings November 12, 2026 16:07
@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Copilot AI 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.

🔵 Needs a closer look

The coordinated four-package Jackson update lacks build, RPM-inspection, and mock-chroot smoke-test results, leaving dependency resolution and runtime compatibility unverified in this source-only review.

No open issues 🎉

What changed in this PR

Updates Azure Linux’s Jackson core and databind packages from 2.18.2 to 2.18.12 for upstream security fixes, alongside matching annotations and BOM dependencies.

Changes:

  • Moves four Jackson components into dedicated definitions pinned to Fedora 44 commits.
  • Refreshes component locks, rendered specs, and source checksums for 2.18.12.
  • Incorporates upstream build adjustments and refreshes the fastdoubleparser-removal patch.
File Description
specs/​j/​jackson-databind/​sources Updates the databind source checksum.
specs/​j/​jackson-databind/​jackson-databind.spec Updates databind version and Maven build requirements.
specs/​j/​jackson-core/​sources Updates the core source checksum.
specs/​j/​jackson-core/​jackson-core.spec Updates core version and Maven build requirements.
specs/​j/​jackson-core/​0001-Remove-ch.randelshofer.fastdoubleparser.patch Refreshes patch context for 2.18.12.
specs/​j/​jackson-bom/​sources Updates the BOM source checksum.
specs/​j/​jackson-bom/​jackson-bom.spec Updates BOM version, parent requirement, and publishing-plugin removal.
specs/​j/​jackson-annotations/​sources Updates the annotations source checksum.
specs/​j/​jackson-annotations/​jackson-annotations.spec Updates annotations version and build preparation.
locks/​jackson-databind.lock Refreshes the databind commit and fingerprints.
locks/​jackson-core.lock Refreshes the core commit and fingerprints.
locks/​jackson-bom.lock Refreshes the BOM commit and fingerprints.
locks/​jackson-annotations.lock Refreshes the annotations commit and fingerprints.
base/​comps/​jackson-databind/​jackson-databind.comp.toml Pins databind to Fedora 44’s 2.18.12 commit.
base/​comps/​jackson-core/​jackson-core.comp.toml Pins core to Fedora 44’s 2.18.12 commit.
base/​comps/​jackson-bom/​jackson-bom.comp.toml Pins the matching BOM dependency.
base/​comps/​jackson-annotations/​jackson-annotations.comp.toml Pins the matching annotations dependency.
base/​comps/​components.toml Removes entries now defined in dedicated component files.

Review effort: Balanced

@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Copilot AI balanced review requested due to automatic review settings November 13, 2026 05:41
@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) changed the title fix(jackson): update jackson-core and jackson-databind to 2.18.12 fix(jackson-databind): upgrade to 2.18.12 to address CVEs Nov 13, 2026
@Kanishk-Bansal
Kanishk Bansal (Kanishk-Bansal) changed the base branch from 4.0 to jackson-core-2.18.12-cves November 13, 2026 05:42

Copilot AI 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.

🔵 Needs a closer look

The security-sensitive Jackson RPM upgrade needs human verification because build, RPM-inspection, and mock-chroot smoke-test evidence is undocumented, runtime validation is unavailable, and lock/render CI stopped before validation after the PR base changed.

No open issues 🎉

Review effort: Balanced

Copilot AI 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.

🟡 Changes recommended

The review still lacks a link or result confirming a successful buddy build of jackson-databind at this PR revision.

1 open issue

Review effort: Balanced

Name: jackson-databind
Version: 2.18.2
Release: 7%{?dist}
Version: 2.18.12

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The PR check scratch build can't run while this is stacked: it builds against the published 4.0 repo, which won't have jackson-core 2.18.12 until #20259 merges. #20258 merged this morning and #20259's scratch build is running now. Once #20259 merges, this PR retargets to 4.0 and gets its own scratch build, and I'll add the result to Testing. Until then, the local mock chain build in the description (bom, annotations, core, databind) is the build evidence.

Copilot AI 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.

🟡 Changes recommended

The HIGH-severity CVE update is stacked on jackson-core-2.18.12-cves with 4.0 as its intended final base rather than the appropriate Azure Linux fasttrack branch.

2 open issues

Review effort: Balanced

Name: jackson-databind
Version: 2.18.2
Release: 7%{?dist}
Version: 2.18.12

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is an Azure Linux 4.0 change, so 4.0 is the right base; the fasttrack branches are for Azure Linux 3.0 (fasttrack/3.0). It's stacked on #20259 only because jackson-databind 2.18.12 needs jackson-core 2.18.12 at build time. Once #20259 merges, this retargets to 4.0.

This branch has not been deployed

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

Labels

4.0 Issues and PRs for Azure Linux 4.0 CVE-fixed-by-upgrade CVE fixed by package upgrade security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants