CHK-13429: Pin Netty codec compression to 4.2.13.Final#366
Draft
Copilot wants to merge 4 commits into
Draft
Conversation
Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/ff1748ca-2686-476c-8163-79fb3aaeb02d Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/ff1748ca-2686-476c-8163-79fb3aaeb02d Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/getyourguide/openapi-validation-java/sessions/ff1748ca-2686-476c-8163-79fb3aaeb02d Co-authored-by: gygrobot <19344429+gygrobot@users.noreply.github.com>
Copilot
AI
changed the title
CHK-13429: [WIP] Fix resource exhaustion vulnerability in netty-codec-compression
CHK-13429: Pin Netty codec compression to 4.2.13.Final
May 22, 2026
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.
This PR addresses the HIGH severity resource exhaustion vulnerability in
io.netty:netty-codec-compression(GHSA-mj4r-2hfc-f8p6, GitHub alert #59) by moving resolution from vulnerable4.2.12.Finalto patched4.2.13.Final. The vulnerable artifact is pulled transitively through the library’s dependency graph and also appears on Spring-managed classpaths used in this repository.Dependency constraint in
openapi-validation-coreio.netty:netty-codec-compression4.2.13.FinalRepository-wide resolution override
resolutionStrategy.eachDependencyrule in the rootbuild.gradleImplementation Reasoning
io.netty:netty-codec-compressionto force version4.2.13.Finalrather than upgrading the parent dependency (swagger-request-validator-core) because:commons-codec,rhino,jackson-core)constraints { implementation('io.netty:netty-codec-compression') { version { strictly '4.2.13.Final' } because 'GHSA-mj4r-2hfc-f8p6: Netty Codec Compression before 4.2.13.Final is vulnerable to resource exhaustion. See https://github.com/getyourguide/openapi-validation-java/security/dependabot/59' } }Original prompt