USPR-13768: bump io.netty resolution override to 4.2.16.Final - #381
Open
midnight-clue[bot] wants to merge 1 commit into
Open
USPR-13768: bump io.netty resolution override to 4.2.16.Final#381midnight-clue[bot] wants to merge 1 commit into
midnight-clue[bot] wants to merge 1 commit into
Conversation
Raises the enforced minimum io.netty version from 4.2.15.Final to 4.2.16.Final to remediate GHSA-558v-64gr-wgg4, a high-severity infinite loop in Bzip2Decoder's RLE state machine (netty-codec-compression) that can hang the Netty event-loop thread. Also syncs the companion netty.version pin in the two Spring Boot example modules so their dependency-management BOM stays aligned with the enforced version. Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
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.
Context & Problem
GitHub Dependabot alert #113 flagged
io.netty:netty-codec-compression(>= 4.2.0.Final, < 4.2.16.Final) for a high-severity infinite loop vulnerability inBzip2Decoder's RLE state machine (GHSA-558v-64gr-wgg4) that can hang the Netty event-loop thread. The patched version is 4.2.16.Final. See USPR-13768.Solution
Raised the existing centralized
io.nettyresolutionStrategy.eachDependency override inbuild.gradle(which already pins allio.nettygroup dependencies for prior CVEs) from4.2.15.Finalto4.2.16.Final, and extended itsbecause()message to reference GHSA-558v-64gr-wgg4 alongside the existing GHSA references. Also bumped the companionext['netty.version']pins in the two Spring Boot example modules (examples/example-spring-boot-starter-webandexamples/example-spring-boot-starter-webflux) to keep their dependency-management BOM overrides in sync with the enforced version, following the same pattern established in the prior USPR-13707 fix. Verifiedsettings.gradleandgradle/libs.versions.tomlcontain no otherio.nettyversion pins that would need bumping.Verification
io.nettyresolutionStrategy override inbuild.gradlebumped from 4.2.15.Final to 4.2.16.Final, withbecause()message updated to cite GHSA-558v-64gr-wgg4 (verified via diff)netty.versionpins in both example modules bumped to 4.2.16.Final for consistency (verified via diff)io.nettypins exist insettings.gradleorgradle/libs.versions.toml(grep across build files)./gradlew helpcompleted with BUILD SUCCESSFUL🔍 Braintrust trace