Skip to content

USPR-13769: bump pinned Netty to 4.2.16.Final for GHSA-c69g-56f8-xwqj - #389

Draft
midnight-clue[bot] wants to merge 1 commit into
mainfrom
claude/USPR-13769-bump-netty-4.2.16
Draft

USPR-13769: bump pinned Netty to 4.2.16.Final for GHSA-c69g-56f8-xwqj#389
midnight-clue[bot] wants to merge 1 commit into
mainfrom
claude/USPR-13769-bump-netty-4.2.16

Conversation

@midnight-clue

@midnight-cluemidnight-clueBot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

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 Gradle resolutionStrategy, one patch version below the fix. See USPR-13769.

Solution

Bump the pinned Netty version from 4.2.15.Final to 4.2.16.Final:

  • Updated the io.nettyresolutionStrategy.eachDependency check in the root build.gradle to enforce 4.2.16.Final, and extended the because() comment to reference GHSA-c69g-56f8-xwqj alongside the existing GHSA entries.
  • Updated ext['netty.version'] in examples/example-spring-boot-starter-web/build.gradle and examples/example-spring-boot-starter-webflux/build.gradle to 4.2.16.Final to keep the examples consistent with the enforced version.

No other logic changes.

Verification

  • Netty pinned to 4.2.16.Final, resolving GHSA-c69g-56f8-xwqj (root build.gradle resolutionStrategy + example modules' netty.version)
  • Checkstyle/PMD/unit tests pass (./gradlew checkstyleMain checkstyleTest pmdMain pmdTest test)

🔍 Braintrust trace

Co-Authored-By: Catarina Pinheiro Correia <catarina.correia@getyourguide.com>
@midnight-clue
midnight-clueBot marked this pull request as ready for review July 30, 2026 16:03
@midnight-clue
midnight-clueBot requested a review from a team as a code ownerJuly 30, 2026 16:03
@gygrobot
gygrobot marked this pull request as draft August 10, 2026 08:39
@gygrobot

Copy link
Copy Markdown
Contributor

Converting to draft due to: merge conflicts. Please fix the issues and mark it as ready for review again, or close it if this is not needed anymore.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@gygrobot@catarina-correia@claude