Skip to content

fix(jackson-core): upgrade to 2.18.12 to address CVEs - #20259

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

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

Conversation

@Kanishk-Bansal

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

Copy link
Copy Markdown

Summary

Update jackson-core 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 (5)

CVE Severity How the fix was verified
CVE-2026-18401 Medium GHSA-72hv-8253-57qq: patched in 2.18.6
CVE-2026-68494 High GHSA-r7wm-3cxj-wff9: patched in 2.18.8
CVE-2026-68498 High CVE.org: affected before 2.18.10 (advisory)
CVE-2026-89407 High GHSA-p6pp-m3f8-5c89: patched in 2.18.11
CVE-2026-89425 High GHSA-7hhh-6rmp-j9qf: patched in 2.18.11

Notes

  • Each pin uses upstream-distro = { name = "fedora", version = "44" }. 4.0's jackson-parent 2.18.1 already satisfies the new BOM.

Changes

  • base/comps/jackson-core/jackson-core.comp.toml: new comp file with the f44 pin (moved out of the inline components.toml entry)
  • locks/jackson-core.lock, specs/j/jackson-core/: 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.

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

Reported builds skip jackson-core tests, while RPM inspection and runtime smoke testing remain unverified, requiring maintainer confirmation of validation evidence and prerequisite BOM publication before merge.

No open issues 🎉

What changed in this PR

Updates Azure Linux’s jackson-core from 2.18.2 to 2.18.12 to address five reported CVEs. This is the middle layer of the Jackson update stack, following #20258 and supporting the jackson-databind update in #20201.

Changes:

  • Moves jackson-core into a dedicated component file pinned to Fedora f44.
  • Refreshes the lock, source checksum, and rendered spec, including upstream Maven build dependency selection.
  • Updates the existing fastdoubleparser-removal patch for the new source layout.
File Description
specs/​j/​jackson-core/​sources Updates the tarball name and SHA512 checksum to 2.18.12.
specs/​j/​jackson-core/​jackson-core.spec Updates version, release, build dependency conditions, and changelog.
specs/​j/​jackson-core/​0001-Remove-ch.randelshofer.fastdoubleparser.patch Refreshes patch context and offsets for the updated source.
locks/​jackson-core.lock Records the new upstream commit and input hashes.
base/​comps/​jackson-core/​jackson-core.comp.toml Adds the documented Fedora f44 commit pin.
base/​comps/​components.toml Removes the inline entry now defined in the dedicated file.

Review effort: Balanced

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