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

trino/467-r0: cve remediation #38296

Closed
wants to merge 5 commits into from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Dec 24, 2024

Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
Copy link
Contributor Author

octo-sts bot commented Jan 16, 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] Failed to read artifact descriptor for io.airlift:testing:jar:293
[ERROR] Caused by: The following artifacts could not be resolved: io.airlift:testing:pom:293 (absent): Could not transfer artifact io.airlift:testing:pom:293 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 failed: Connect timed out

• Error Category: Dependency/Network

• Failure Point: Maven dependency resolution during the build step

• Root Cause Analysis: Maven is unable to download required dependencies from Maven Central due to network connectivity issues or timeouts

• Suggested Fix:

  1. Add Maven repository mirrors to the build configuration:
pipeline:
  - runs: |
      mkdir -p /root/.m2
      cat << EOF > /root/.m2/settings.xml
      <settings>
        <mirrors>
          <mirror>
            <id>google-maven-central</id>
            <name>Google Maven Central</name>
            <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
            <mirrorOf>central</mirrorOf>
          </mirror>
        </mirrors>
      </settings>
      EOF
  1. Add this before the Maven build command

• Explanation: The build is failing because it cannot reach Maven Central reliably. Adding Google's Maven Central mirror provides a more reliable alternative that should resolve the connection timeout issues.

• Additional Notes:

  • The error shows multiple dependency resolution failures, all stemming from network connectivity issues
  • Using an alternative mirror can help bypass potential network restrictions or reliability issues
  • Google's Maven Central mirror is generally more reliable and has better global connectivity

• References:

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Jan 16, 2025
@mamccorm
Copy link
Member

These have advisory entries:

Specifically:

More details on GHSA-f686-hw9c-xw9c issue (above). Fixed event recorded on 2024-11-06:

New detected event on 2024-11-15:

Performed a scan of the same package, and it does not return any findings for: GHSA-f686-hw9c-xw9c? And I don't see any remediation tickets opened.

I'm going to close this, and if automation re-opens we'll dig in deeper

@mamccorm mamccorm closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants