-
Notifications
You must be signed in to change notification settings - Fork 290
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-r1: cve remediation #38100
Conversation
GHSA-mfj5-cf8g-g2fv is still present in the scan |
Signed-off-by: Mark McCormick <[email protected]>
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: Based on the Maven build log you've provided, I'll analyze the error and provide a solution: • Detected Error: Connection timeout/failure when trying to download from Apache snapshots repository while attempting to fetch snappy-java-1.1.10.4.pom • Error Category: Dependency/Repository • Failure Point: Maven dependency resolution during build, specifically when trying to download snappy-java artifact • Root Cause Analysis: The build is attempting to use both the Apache snapshots repository and Maven Central, but appears to be timing out or failing to connect to the Apache snapshots repository • Suggested Fix: - uses: maven/pombump
with:
patch-file: patches.yaml
settings: |
<settings>
<mirrors>
<mirror>
<id>central-mirror</id>
<url>https://repo.maven.apache.org/maven2</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings> • Explanation: This configuration will force Maven to use Maven Central repository exclusively, bypassing the problematic Apache snapshots repository attempts. Since all the required dependencies are available in Maven Central (as shown by the successful downloads in the log), this won't impact dependency resolution while avoiding the connection issues. • Additional Notes:
• References:
|
tez/0.10.4-r1: fix GHSA-mfj5-cf8g-g2fv/GHSA-pr98-23f8-jwxv/
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/tez.advisories.yaml