Skip to content
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

wildfly/35.0.1-r14: cve remediation #48246

Merged
merged 4 commits into from
Mar 31, 2025

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Mar 26, 2025

wildfly/35.0.1-r14: fix GHSA-5565-3c98-g6jc

Advisory data: https://github.com/wolfi-dev/advisories/blob/main/wildfly.advisories.yaml


"Breadcrumbs" for this automated service

Copy link
Contributor Author

octo-sts bot commented Mar 26, 2025

⚠️ EXPERIMENTAL

Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation.

To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify:

e.g. /ai-verify partially helpful but I also added bash to the build environment

Gen AI suggestions to solve the build error:

• Detected Error:

[ERROR] /home/build/elytron-oidc-client/src/main/java/org/wildfly/extension/elytron/oidc/ProviderAttributeDefinitions.java:[8,29] package org.jose4j.jws does not exist

• Error Category: Dependency

• Failure Point: Maven compilation of wildfly-elytron-oidc-client-subsystem module

• Root Cause Analysis: The build is failing because the jose4j dependency is missing or not properly declared in the Maven build configuration for the OIDC client subsystem.

• Suggested Fix:
Add the jose4j dependency to the pipeline environment section:

environment:
  contents:
    packages:
      - build-base
      - busybox
      - ca-certificates-bundle
      - maven
      - openjdk-17
      - openjdk-21
      - jose4j

Or alternatively, ensure the jose4j dependency is properly declared in the relevant pom.xml:

<dependency>
    <groupId>org.bitbucket.b_c</groupId>
    <artifactId>jose4j</artifactId>
    <version>0.9.6</version>
</dependency>

• Explanation: The compilation error indicates that the jose4j library, which provides JSON Object Signing and Encryption (JOSE) functionality, is not available during compilation. Adding the dependency will make the required classes available to the compiler.

• Additional Notes:

  • The error occurs specifically in the OIDC client subsystem which requires jose4j for JWT handling
  • The version 0.9.6 is referenced in the build logs as being downloaded but may not be properly included in the module's classpath
  • This is a common issue when dependencies are declared at the wrong level in multi-module Maven projects

• References:

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Mar 26, 2025
@jamie-albert jamie-albert self-assigned this Mar 27, 2025
…ta5, renaming depricated method names, adding support for remote+tls protocol configuration
@jamie-albert jamie-albert force-pushed the cve-wildfly-76b83a187d0ee49871f21fb83145748e branch from 01ff197 to 9db66c6 Compare March 30, 2025 23:22
@octo-sts octo-sts bot added bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. manual/review-needed labels Mar 30, 2025
@jamie-albert jamie-albert requested a review from a team March 31, 2025 00:14
@dnegreira dnegreira merged commit 1444c08 into main Mar 31, 2025
28 checks passed
@dnegreira dnegreira deleted the cve-wildfly-76b83a187d0ee49871f21fb83145748e branch March 31, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/skip-comment Stop AI from commenting on PR automated pr bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. GHSA-5565-3c98-g6jc manual/review-needed maven/pombump request-cve-remediation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants