Skip to content

Pin jackson-databind/core to 2.22.0 to clear 7 advisories - #7

Merged
delphyne merged 1 commit into
mainfrom
fix/jackson-databind-advisories
Jun 30, 2026
Merged

Pin jackson-databind/core to 2.22.0 to clear 7 advisories#7
delphyne merged 1 commit into
mainfrom
fix/jackson-databind-advisories

Conversation

@delphyne

Copy link
Copy Markdown
Collaborator

What

All seven open Dependabot alerts (#9–#15) on this repo are com.fasterxml.jackson.core:jackson-databind (CVE-2026-54512CVE-2026-54518):

jackson is not a direct dependency — it's a transitive of the CycloneDX and JReleaser Gradle plugins, resolving to 2.21.2 on the root buildscript classpath.

How

Force-resolve jackson-databind and jackson-core to 2.22.0 in the existing buildscript { … resolutionStrategy.eachDependency } block, alongside the pre-existing tika-core and plexus-utils pins (also JReleaser transitives).

2.22.0 is the first published release exceeding every vulnerable range — the 2.21.5 fix some advisories name was never released to Maven Central. jackson-core is bumped in lock-step to avoid databind/core skew; jackson-annotations is left to track its own 2.22 line via the BOM.

This mirrors the identical fix shipped in engine-public/protoc-gen-markdown and engine-public/protoc-gen-mermaid (their PR #11).

Verification

  • ./gradlew ktlintFormat
  • ./gradlew buildEnvironment | grep jackson → every jackson-databind/jackson-core resolves … -> 2.22.0 (incl. the previously-vulnerable 2.21.2 -> 2.22.0); jackson-annotations on 2.22, jackson-bom at 2.22.0
  • ./gradlew build → BUILD SUCCESSFUL (compile + ktlint + tests) ✅

Closes Dependabot alerts #9–#15 once merged to main.

🤖 Generated with Claude Code

All seven open Dependabot alerts (#9-#15) are jackson-databind
(CVE-2026-54512 ... CVE-2026-54518): PolymorphicTypeValidator bypasses,
@JSONVIEW / @JsonIgnore / @JsonIgnoreProperties bypasses, and an
InetSocketAddress eager-DNS SSRF. jackson is a transitive of the CycloneDX
and JReleaser plugins, resolving to 2.21.2 on the buildscript classpath.

Force-resolve jackson-databind and jackson-core to 2.22.0 in the existing
buildscript resolutionStrategy block (alongside the tika-core and
plexus-utils pins). 2.22.0 is the first published release exceeding every
vulnerable range -- the named 2.21.5 fix was never released to Maven
Central. jackson-annotations tracks its own 2.22 line via the BOM.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@delphyne
delphyne merged commit de6c502 into main Jun 30, 2026
4 checks passed
@delphyne
delphyne deleted the fix/jackson-databind-advisories branch June 30, 2026 18:57
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.

2 participants