Skip to content

Conversation

@ayoinc
Copy link
Owner

@ayoinc ayoinc commented Jul 20, 2025

snyk-top-banner

Snyk has created this PR to fix 5 vulnerabilities in the dockerfile dependencies of this project.

Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Snyk changed the following file(s):

  • builder/Dockerfile

We recommend upgrading to golang:1.25rc2-alpine, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Out-of-bounds Write
SNYK-ALPINE315-ZLIB-2976173
  714  
high severity Use After Free
SNYK-ALPINE315-OPENSSL-3314621
  614  
high severity Access of Resource Using Incompatible Type ('Type Confusion')
SNYK-ALPINE315-OPENSSL-3314622
  614  
high severity Double Free
SNYK-ALPINE315-OPENSSL-3314629
  614  
high severity Improper Certificate Validation
SNYK-ALPINE315-OPENSSL-3368753
  614  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Use After Free
🦉 Access of Resource Using Incompatible Type ('Type Confusion')
🦉 Double Free

Copilot AI review requested due to automatic review settings July 20, 2025 03:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses security vulnerabilities by upgrading the Golang base Docker image from version 1.18.0-alpine to 1.25rc2-alpine. The upgrade fixes 5 known vulnerabilities including critical zlib and high-severity OpenSSL security issues.

Key Changes

  • Updates Golang base image to resolve security vulnerabilities in underlying dependencies
  • Migrates from a stable release (1.18.0) to a release candidate (1.25rc2)

@@ -1,4 +1,4 @@
FROM golang:1.18.0-alpine
FROM golang:1.25rc2-alpine
Copy link

Copilot AI Jul 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a release candidate (rc2) in production is not recommended. Consider upgrading to golang:1.25-alpine when the stable version becomes available, or use the latest stable version like golang:1.24-alpine for production deployments.

Suggested change
FROM golang:1.25rc2-alpine
FROM golang:1.24-alpine

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants