Skip to content

USPR-13771: bump forced netty version to 4.2.16.Final for GHSA-4mp9-239f-g9hg - #384

Open
midnight-clue[bot] wants to merge 2 commits into
mainfrom
claude/USPR-13771-bump-netty-4-2-16-final
Open

USPR-13771: bump forced netty version to 4.2.16.Final for GHSA-4mp9-239f-g9hg#384
midnight-clue[bot] wants to merge 2 commits into
mainfrom
claude/USPR-13771-bump-netty-4-2-16-final

Conversation

@midnight-clue

@midnight-clue midnight-clue Bot commented Jul 30, 2026

Copy link
Copy Markdown

Context & Problem

GitHub Dependabot alert #110 flags io.netty:netty-codec-http versions 4.2.0.Final-4.2.15.Final as vulnerable to a WebSocket handshaker validation issue (GHSA-4mp9-239f-g9hg: WebSockets V07/V08 handshaker missing Connection/Upgrade header validation). The repo's existing resolutionStrategy.eachDependency override in build.gradle forced io.netty dependencies to 4.2.15.Final, which is itself the last vulnerable version in this range. See USPR-13771.

Solution

Bumped the existing io.netty version-forcing rule in build.gradle's subprojects{} block: the comparison threshold and useVersion call now target 4.2.16.Final instead of 4.2.15.Final, and the because(...) comment now also references GHSA-4mp9-239f-g9hg alongside the previously-listed GHSA IDs. This is a minimal, targeted change to the existing constraint, consistent with how prior GHSA fixes were applied to this same block — no new override or BOM bump was introduced.

Verification

  • io.netty:netty-codec-http resolves to >= 4.2.16.Final (verified via ./gradlew :spring-boot-starter:spring-boot-starter-webflux:dependencies --configuration compileClasspath, confirmed resolved version 4.2.16.Final)
  • Existing test suite passes (./gradlew test — BUILD SUCCESSFUL)

🔍 Braintrust trace

…39f-g9hg

Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
@midnight-clue
midnight-clue Bot marked this pull request as ready for review July 30, 2026 16:03
@midnight-clue
midnight-clue Bot requested a review from a team as a code owner July 30, 2026 16:03
@gyg-pr-tool
gyg-pr-tool Bot requested a review from catarina-correia July 30, 2026 16:04
Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
Sign up for free to 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.

2 participants