USPR-13904: bump io.netty to 4.2.17.Final to resolve GHSA-8c42-7qj2-3j46 - #403
Draft
midnight-clue[bot] wants to merge 1 commit into
Draft
USPR-13904: bump io.netty to 4.2.17.Final to resolve GHSA-8c42-7qj2-3j46#403midnight-clue[bot] wants to merge 1 commit into
midnight-clue[bot] wants to merge 1 commit into
Conversation
Bump io.netty group dependency version constraint from 4.2.16.Final to 4.2.17.Final in the resolutionStrategy to resolve the CORS Vary header overwrite vulnerability (GHSA-8c42-7qj2-3j46) in io.netty:netty-codec-http, fixed in 4.2.17.Final. Also update the accompanying clause to document this new CVE alongside existing Netty vulnerability references. Updates both the root build.gradle resolutionStrategy and the example subproject netty version overrides. Co-Authored-By: Ronald van Duren <ronald.vanduren@getyourguide.com>
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.
Context & Problem
USPR-13904: GitHub Dependabot alert #134 on openapi-validation-java flags io.netty:netty-codec-http versions >= 4.2.0.Final and <= 4.2.16.Final as vulnerable to cache poisoning and information disclosure via CORS Vary header overwrite (GHSA-8c42-7qj2-3j46), fixed in 4.2.17.Final.
Solution
Updated the io.netty resolutionStrategy.eachDependency block in build.gradle to force io.netty group dependencies with version < '4.2.17.Final' to useVersion('4.2.17.Final'), and updated the
because()comment to reference GHSA-8c42-7qj2-3j46 alongside existing CVE references.Also updated the example subproject netty version overrides to 4.2.17.Final for consistency.
Verification
./gradlew :examples:example-spring-boot-starter-webflux:dependencyInsight --dependency netty-codec-http)./gradlew checkstyleMain checkstyleTest)./gradlew pmdMain pmdTest)./gradlew test)🔍 Braintrust trace