CHK-13425: Fix GHSA-rwm7-x88c-3g2p: Upgrade Netty to 4.2.13.Final#361
Closed
Copilot wants to merge 4 commits into
Closed
CHK-13425: Fix GHSA-rwm7-x88c-3g2p: Upgrade Netty to 4.2.13.Final#361Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/c8d2cd28-9b51-4f30-8eea-3cf78a770fa0 Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
- Add resolutionStrategy.eachDependency constraint in build.gradle to upgrade io.netty 4.2.x artifacts to 4.2.13.Final using proper numeric patch version comparison (avoids string comparison pitfall for e.g. 4.2.9 vs 4.2.13) - Add ext['netty.version'] = '4.2.13.Final' to the webflux example project which uses the Spring Dependency Management plugin (requires separate BOM version override via ext property) Resolves: GHSA-rwm7-x88c-3g2p, CHK-13425 Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/c8d2cd28-9b51-4f30-8eea-3cf78a770fa0 Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
Copilot
AI
changed the title
CHK-13425: [WIP] Fix netty transport native epoll security vulnerability
Fix GHSA-rwm7-x88c-3g2p: Upgrade Netty to 4.2.13.Final
May 22, 2026
The gradlew.bat was inadvertently modified to use LF line endings during the security fix commit. This restores the original CRLF line endings to match main and avoid unnecessary diff noise.
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.
Addresses HIGH severity DoS vulnerability in
io.netty:netty-transport-native-epoll(GHSA-rwm7-x88c-3g2p) — RST on half-closed TCP connections. Spring Boot 4.0.5 BOM pins Netty at4.2.12.Final(vulnerable); patched version is4.2.13.Final.Changes
build.gradle— AddsresolutionStrategy.eachDependencyconstraint forio.nettygroup following the existing CVE-fix pattern. Uses regex-based numeric patch comparison to correctly handle single- vs multi-digit patch versions (e.g.4.2.9vs4.2.13fails lexicographic comparison):examples/example-spring-boot-starter-webflux/build.gradle— Addsext['netty.version'] = '4.2.13.Final'alongside the existingext['jackson-bom.version']override. Required because the Spring Dependency Management plugin resolves BOM-managed versions through a separate mechanism thatresolutionStrategyalone cannot override.Implementation Reasoning
resolutionStrategy.eachDependencyapproach works for modules using Gradle-nativeplatform()BOM import; theext['netty.version']property is the standard override for the Spring DM plugin.io.nettyartifacts in the4.2.xrange are upgraded together to maintain inter-component compatibility../gradlew dependenciesthatnetty-transport-native-epollresolves to4.2.13.Finalacross all relevant configurations.References: CHK-13425 · GitHub Alert #64 · GHSA-rwm7-x88c-3g2p
Original prompt