-
Notifications
You must be signed in to change notification settings - Fork 416
tez/0.10.4-r7: cve remediation #52973
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
tez/0.10.4-r7: cve remediation #52973
Conversation
9d44e24 to
5d86c84
Compare
📦 Build Failed: Missing Dependency
Build Details
Root Cause Analysis 🔍The build is missing required Netty SSL dependencies. The code in SSLFactory.java is trying to use classes from io.netty.handler.ssl package (JdkSslContext, SupportedCipherSuiteFilter), but these classes are not available on the classpath. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixes
Suggested ChangesFile: pombump-deps.yaml
File: pombump-properties.yaml
Click to expand fix analysisAnalysisLooking at the similar fixed build failures, the common pattern is missing Netty SSL dependencies, particularly from the io.netty.handler.ssl package. Each fix addressed this by either:
The current error shows the same pattern - the build is missing required Netty SSL classes (particularly JdkSslContext and SupportedCipherSuiteFilter from io.netty.handler.ssl) which need to be added to the classpath. Click to expand fix explanationExplanationThe suggested changes address the root cause of the build failure by explicitly adding the necessary Netty dependencies to the build. The current failure occurs because the code in SSLFactory.java is trying to use classes from io.netty.handler.ssl package (specifically JdkSslContext and SupportedCipherSuiteFilter), but these classes are not available on the classpath. The netty-handler artifact contains the SSL handler classes that are missing. I'm recommending Netty version 4.1.118.Final based on the successful fixes in two of the similar examples. This version is recent and stable, which aligns with Wolfi's principle of keeping packages up to date. The solution adds three key Netty dependencies:
Additionally, I'm creating a properties file to set the netty.version property which helps ensure consistent versions across transitive dependencies. This approach was successful in fix examples #2 and #3 and helps prevent version conflicts. This approach should resolve the compilation error by providing the missing classes while maintaining compatibility with the existing build system. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Kyle Steere <kyle.steere@chainguard.dev>
5d86c84 to
f44d663
Compare
|
Advisories for un-patched packages: wolfi-dev/advisories#18778 |
tez/0.10.4-r7: fix GHSA-4g8c-wm8x-jfhw
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/tez.advisories.yaml
"Breadcrumbs" for this automated service