Skip to content

USPR-13770: bump io.netty minimum version to 4.2.16.Final - #386

Open
midnight-clue[bot] wants to merge 2 commits into
mainfrom
claude/USPR-13770-bump-netty-min-version
Open

USPR-13770: bump io.netty minimum version to 4.2.16.Final#386
midnight-clue[bot] wants to merge 2 commits into
mainfrom
claude/USPR-13770-bump-netty-min-version

Conversation

@midnight-clue

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

Copy link
Copy Markdown
Contributor

Context & Problem

GitHub Security Alert (Dependabot alert #111) flagged io.netty:netty-codec-http for a moderate-severity DoS vulnerability (GHSA-q4f6-jm68-57ww): unbounded per-connection queue growth via HTTP/1.1 pipelining in HttpContentEncoder, affecting versions >= 4.2.0.Final and <= 4.2.15.Final, fixed in Netty 4.2.16.Final. The repo already has a resolutionStrategy override pinning io.netty to 4.2.15.Final from a previous round of CVE fixes (USPR-13707), which needed to be bumped. See USPR-13770.

Solution

Bumped the existing io.netty resolutionStrategy.eachDependency override in build.gradle (the same mechanism used for prior Netty/Jackson/Logback/Tomcat CVE fixes) so it now forces any io.netty dependency below 4.2.16.Final up to 4.2.16.Final, and added the GHSA-q4f6-jm68-57ww reference to the because() comment alongside the existing advisory list. No new override block was introduced — this is a version-threshold bump within the pre-existing pattern, consistent with how the prior CVE round was handled.

Verification

  • io.netty dependencies are forced to at least 4.2.16.Final (updated requested.version < '4.2.16.Final' check and useVersion('4.2.16.Final') in build.gradle)
  • because() comment updated to reference GHSA-q4f6-jm68-57ww alongside the existing advisories, with the fixed version corrected to 4.2.16.Final
  • No other resolutionStrategy blocks (Jackson, logback, tomcat) were modified
  • Verified via ./gradlew buildEnvironment that the build configuration parses correctly

claude and others added 2 commits July 30, 2026 15:58
Resolves GHSA-q4f6-jm68-57ww (Dependabot alert #111): HttpContentEncoder
unbounded per-connection queue growth via HTTP/1.1 pipelining in
io.netty:netty-codec-http.

Co-Authored-By: Catarina Pinheiro Correia <catarina.correia@getyourguide.com>
Keep the example Spring Boot modules' netty.version BOM override in
lockstep with the root build.gradle resolutionStrategy floor bumped
for GHSA-q4f6-jm68-57ww.

Co-Authored-By: Catarina Pinheiro Correia <catarina.correia@getyourguide.com>
@midnight-clue

midnight-clue Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

🤖 CI finished with 1 workflow I can't resolve on my own (cancelled, awaiting manual approval, or superseded):

  • check: cancelled

A human needs to take a look — I've left the PR as-is and stopped here.

@midnight-clue
midnight-clue Bot marked this pull request as ready for review July 30, 2026 16:05
@midnight-clue
midnight-clue Bot requested a review from a team as a code owner July 30, 2026 16:05
@gyg-pr-tool
gyg-pr-tool Bot requested a review from catarina-correia July 30, 2026 16:06
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