USPR-13774: bump io.netty vulnerability floor to 4.2.16.Final - #380
Open
midnight-clue[bot] wants to merge 1 commit into
Open
USPR-13774: bump io.netty vulnerability floor to 4.2.16.Final#380midnight-clue[bot] wants to merge 1 commit into
midnight-clue[bot] wants to merge 1 commit into
Conversation
…774) Remediates GHSA-jppx-w49h-x2qq (ByteBuf Reference Leak on RST_STREAM) which causes native memory exhaustion under high RST_STREAM traffic. Update the minimum io.netty version floor from 4.2.15.Final to 4.2.16.Final in both the root resolutionStrategy and in the example Spring Boot applications to maintain consistency. Fixes Dependabot alert #107. 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
A GitHub Dependabot alert (#107, HIGH severity) flagged io.netty:netty-codec-http versions 4.2.0.Final-4.2.15.Final as vulnerable to a ByteBuf reference leak on RST_STREAM handling, causing native memory exhaustion (GHSA-jppx-w49h-x2qq). The repo's
build.gradleresolutionStrategy override forio.nettypinned the floor at exactly4.2.15.Final, which is itself the last vulnerable version for this advisory. See USPR-13774.Solution
Bumped the
io.nettyresolutionStrategy.eachDependency floor in the rootbuild.gradlefrom4.2.15.Finalto4.2.16.Final(the patched version), appending the newGHSA-jppx-w49h-x2qqreference to the existingbecause(...)message while keeping all prior GHSA references intact. Also updated the matchingext['netty.version']Spring Boot dependency-management overrides in the two example modules (example-spring-boot-starter-webandexample-spring-boot-starter-webflux) to keep them consistent with the new floor, following the same lockstep pattern used when this mechanism was introduced (commit 850a009).Verification
🔍 Braintrust trace