fix(deps): clear 14 Dependabot alerts (netty 4.1.136, jackson 2.21.5, log4j 2.25.5) - #229
Merged
Merged
Conversation
Shadow 8.1.1 pulls log4j-core 2.20.0 (-> log4j-api 2.20.0) onto the buildscript classpath, which is vulnerable to CVE-2026-49844 (improper encoding of non-finite floats in MapMessage JSON serialization, medium). Build-time only -- log4j is not part of the published artifact -- but pinning it clears the Dependabot alert, matching the existing commons-io / plexus-utils pins in the same block.
Clears 13 Dependabot alerts against the published artifact. Netty 4.1.135 -> 4.1.136.Final (10 alerts, 5 high): netty-codec CVE-2026-59901 (high) netty-codec-http CVE-2026-55831, CVE-2026-55833, CVE-2026-56745 (high), CVE-2026-56746, CVE-2026-59898, CVE-2026-59899, CVE-2026-59921 netty-codec-http2 CVE-2026-56819 (high), CVE-2026-59900 Only netty-codec-http2 is declared directly; netty-codec and netty-codec-http resolve transitively beneath it, so the single nettyVersion bump covers all three modules. Staying on the 4.1.x line rather than taking Dependabot's suggested 4.2.17.Final: grpc-netty 1.60.2 is built against Netty 4.1, and 4.2 reworked the buffer allocator and IoHandler APIs it binds to. 4.1.136 clears every Netty alert without that compatibility risk. jackson-databind 2.21.4 -> 2.21.5 (3 medium alerts, incl. CVE-2026-54515 and CVE-2026-59889). jackson-core moved in lockstep to keep the bom aligned. Verified: clean build + compileIntegrationTestJava on Temurin 17, 90/90 tests pass; shaded jar still relocates Netty correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears all 14 open Dependabot alerts on this repo. Three distinct root causes, split across two commits.
Netty 4.1.135 → 4.1.136.Final — 10 alerts, 5 high
netty-codecnetty-codec-httpnetty-codec-http2Only
netty-codec-http2is declared directly;netty-codecandnetty-codec-httpresolve transitively beneath it, so the singlenettyVersionbump covers all three modules. Confirmed viagradlew dependenciesthat every resolved Netty artifact is now4.1.136.Final.Deliberately not taking Dependabot's suggested 4.2.17.Final (#227). grpc-netty 1.60.2 is built against Netty 4.1, and 4.2 reworked the buffer allocator and
IoHandlerAPIs that grpc-netty binds to. 4.1.136 clears every Netty alert without that compatibility risk. #227 becomes redundant once this lands and should be closed.jackson-databind 2.21.4 → 2.21.5 — 3 medium alerts
Includes CVE-2026-54515 and CVE-2026-59889.
jackson-coremoved in lockstep to keep the bom aligned.log4j 2.20.0 → 2.25.5 — 1 medium alert
CVE-2026-49844. This one is not in the published artifact: Shadow 8.1.1 drags
log4j-core:2.20.0(→log4j-api:2.20.0) onto the buildscript classpath. Pinned in the existingresolutionStrategyblock alongside the commons-io / plexus-utils pins added in dc1e213, so the fix follows the established pattern.Verification
gradle clean build compileIntegrationTestJavaon Temurin 17 — BUILD SUCCESSFUL, 90/90 tests passMETA-INF/versions/21exclusion still holds with jackson 2.21.5integrationTestnot run locally — needsPINECONE_API_KEYand hits live infrastructure; CI will cover itNote
Low Risk
Patch-level dependency version updates for known CVEs; grpc-netty compatibility is explicitly preserved by avoiding Netty 4.2.
Overview
Security-only dependency bumps in
build.gradleto clear 14 Dependabot alerts—no application code changes.Netty stays on 4.1.136.Final (not 4.2.x) so grpc-netty 1.60.2 compatibility is preserved; the single
nettyVersionbump covers transitivenetty-codec/netty-codec-httpmodules. Jacksondatabindandcoremove together to 2.21.5 (implementation and test). Log4j 2.25.5 is forced on the Shadow plugin buildscript classpath only (not the published client).Comments document CVE fixes and the rationale for remaining on Netty 4.1.
Reviewed by Cursor Bugbot for commit 4b723bc. Bugbot is set up for automated code reviews on this repo. Configure here.