-
Notifications
You must be signed in to change notification settings - Fork 416
celeborn-0.6/0.6.1-r0: cve remediation #69911
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
celeborn-0.6/0.6.1-r0: cve remediation #69911
Conversation
<!--ci-cve-scan:must-fix: GHSA-3p8m-j85q-pgmj-->
📦 Build Failed: Missing Dependency
Build Details
Root Cause Analysis 🔍The Netty codec dependency is missing from the Maven project dependencies. Multiple Java source files in the celeborn-common module are trying to import io.netty.handler.codec classes but the required Netty dependency is not available in the classpath, causing compilation failures across MessageEncoder.java, SslMessageEncoder.java, MessageDecoder.java, and TransportContext.java files. 🔍 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: celeborn-0.6.yaml
Replacement: Content: File: celeborn-0.6/pombump-netty.yaml
Replacement: Content: Click to expand fix analysisAnalysisBased on the similar fixed build failure, I can see a clear pattern: when Netty dependencies are missing from the classpath during Maven compilation, the solution involves using the maven/pombump action to add or update Netty version properties in the project's POM files. In the fixed example, a new pombump-properties.yaml file was created to specify the netty.version property with value "4.1.124.Final", and an additional maven/pombump step was added to apply this property to the buildtools/pom.xml file. This pattern suggests that Celeborn likely has similar Netty version properties that need to be configured properly. Click to expand fix explanationExplanationThis fix addresses the root cause by ensuring that the Netty dependencies are properly configured in the Maven build. The celeborn-common module is failing to compile because it cannot find io.netty.handler.codec classes, which indicates that the Netty libraries are not available in the classpath. By adding a maven/pombump step with a netty.version property set to "4.1.124.Final" (the same version used in the similar fix), we ensure that the Maven build can resolve the Netty dependencies that the Java source files are trying to import. The pombump action will update the project's POM files to use the specified Netty version, making the io.netty.handler.codec and other Netty packages available during compilation. This approach follows the exact same pattern that successfully fixed the similar Apache Pulsar build failure. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
…3-ccx8-p6x4 celeborn-0.6 is newly version streamed and existing advisories under version 0.5 need to be updated for the new 0.6 version. netty is brought in by ratis, which has still not updated to a fixed version of netty. Relates: wolfi-dev/os#69882, wolfi-dev/os#69911, chainguard-dev/CVE-Dashboard#31614, chainguard-dev/CVE-Dashboard#31634, chainguard-dev/CVE-Dashboard#31623
|
Advisory PR: wolfi-dev/advisories#24367 |
* adv(celeborn-0.6): GHSA-3p8m-j85q-pgmj, GHSA-fghv-69vj-qj49, GHSA-prj3-ccx8-p6x4 celeborn-0.6 is newly version streamed and existing advisories under version 0.5 need to be updated for the new 0.6 version. netty is brought in by ratis, which has still not updated to a fixed version of netty. Relates: wolfi-dev/os#69882, wolfi-dev/os#69911, chainguard-dev/CVE-Dashboard#31614, chainguard-dev/CVE-Dashboard#31634, chainguard-dev/CVE-Dashboard#31623 * adv(celeborn-0.6): GHSA-j288-q9x7-2f5v, GHSA-h46c-h94j-95f3, GHSA-wf8f-6423-gfxg, GHSA-qh8g-58pp-2wxh, GHSA-xwmg-2g98-w7v9 celeborn-0.6 is newly version streamed and existing advisories under version 0.5 need to be updated for the new 0.6 version. hadoop is currently brought in at the most recent version (3.4.2) and all the subsequent transitive dependencies of hadoop require an upstream fix. Relates: chainguard-dev/CVE-Dashboard#31631, chainguard-dev/CVE-Dashboard#31625, chainguard-dev/CVE-Dashboard#31629, chainguard-dev/CVE-Dashboard#31627, chainguard-dev/CVE-Dashboard#31621
|
This vulnerability remediation is stale and no longer needed. 👋 Advisory CGA-v929-wm8j-8mwj has the latest event type of "pending-upstream-fix": https://github.com/wolfi-dev/advisories/blob/main/celeborn-0.6.advisories.yaml |
celeborn-0.6/0.6.1-r0: fix GHSA-3p8m-j85q-pgmj
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/celeborn-0.6.advisories.yaml
The following vulnerabilities are being deferred to future PRs (to avoid merge conflicts):
[email protected]@[email protected][email protected]@[email protected][email protected]@[email protected][email protected]@[email protected][email protected]@[email protected]"Breadcrumbs" for this automated service