USPR-13769: bump pinned Netty to 4.2.16.Final for GHSA-c69g-56f8-xwqj - #389
Open
midnight-clue[bot] wants to merge 1 commit into
Open
USPR-13769: bump pinned Netty to 4.2.16.Final for GHSA-c69g-56f8-xwqj#389midnight-clue[bot] wants to merge 1 commit into
midnight-clue[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Catarina Pinheiro 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 flagged a moderate-severity vulnerability (alert #112, GHSA-c69g-56f8-xwqj) in
io.netty:netty-codec-http2: a lack of Host header deduplication in HTTP/2->HTTP/1.x translation can lead to request routing bypass. This affects Netty >= 4.2.0.Final and <= 4.2.15.Final, and is fixed in 4.2.16.Final. The repo currently pins Netty to 4.2.15.Final via a GradleresolutionStrategy, one patch version below the fix. See USPR-13769.Solution
Bump the pinned Netty version from
4.2.15.Finalto4.2.16.Final:io.nettyresolutionStrategy.eachDependencycheck in the rootbuild.gradleto enforce4.2.16.Final, and extended thebecause()comment to reference GHSA-c69g-56f8-xwqj alongside the existing GHSA entries.ext['netty.version']inexamples/example-spring-boot-starter-web/build.gradleandexamples/example-spring-boot-starter-webflux/build.gradleto4.2.16.Finalto keep the examples consistent with the enforced version.No other logic changes.
Verification
build.gradleresolutionStrategy + example modules'netty.version)./gradlew checkstyleMain checkstyleTest pmdMain pmdTest test)🔍 Braintrust trace