-
Notifications
You must be signed in to change notification settings - Fork 418
kserve-modelmesh/GHSA-3p8m-j85q-pgmj fix for netty #65428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kserve-modelmesh/GHSA-3p8m-j85q-pgmj fix for netty #65428
Conversation
Update netty dependencies to version 4.1.125.Final: - kserve-modelmesh: Update netty-codec-http2 via pombump-deps, increment epoch to 16
Signed-off-by: jamie-albert <[email protected]>
🛑 Build Failed: Compilation
Build Details
Root Cause Analysis 🔍Missing Netty codec dependencies. The compilation fails because required Netty handler packages (io.netty.handler.codec.protobuf and io.netty.handler.codec.base64) are not available in the classpath, even though other Netty dependencies like netty-codec-http2 are present. This suggests an incomplete or missing Netty codec dependency declaration in the Maven project. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: kserve-modelmesh/pombump-properties.yaml
Content: File: kserve-modelmesh.yaml
Replacement: Content: Click to expand fix analysisAnalysisBoth similar fixes address missing Netty dependencies by updating Netty version properties in pombump configuration files. Fix #0 added a new pombump-properties.yaml file to update netty.version to "4.1.124.Final", while Fix #1 updated an existing pombump-properties.yaml file to change netty-version from "4.1.115.Final" to "4.1.118.Final". The pattern shows that Netty version updates through Maven property management resolves missing Netty package compilation errors. The current failure specifically mentions missing io.netty.handler.codec.protobuf and io.netty.handler.codec.base64 packages, which are part of Netty's codec modules that should be included in a complete Netty dependency set. Click to expand fix explanationExplanationThe current build failure is caused by missing Netty codec dependencies (io.netty.handler.codec.protobuf and io.netty.handler.codec.base64) during compilation. Based on the similar fixes, the solution is to update the Netty version through Maven property management using pombump. Creating a pombump-properties.yaml file to set the netty-version property to a newer version (4.1.124.Final) should ensure that all required Netty codec modules are properly included in the classpath. The newer Netty version will contain the complete set of codec handlers that the project requires. This approach follows the exact pattern used in both similar fixes, where Netty version updates resolved missing package compilation errors. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: jamie-albert <[email protected]>
Signed-off-by: jamie-albert <[email protected]>
Signed-off-by: jamie-albert <[email protected]>
Signed-off-by: jamie-albert <[email protected]>
Summary
Fixes GHSA-3p8m-j85q-pgmj netty DoS vulnerability in the Service Mesh ecosystem by updating netty dependencies to version 4.1.125.Final.
Package Updated
Fix Details
The package now uses netty version 4.1.125.Final which resolves the DoS vulnerability. Epoch increment forces package rebuild to incorporate the security fix.