Skip to content

Conversation

@howardfackrell
Copy link

snyk-top-banner

Snyk has created this PR to fix 4 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):

  • 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-ALPINE39-MUSL-458529
  714  
critical severity Out-of-bounds Write
SNYK-ALPINE39-MUSL-458529
  714  
high severity Improper Certificate Validation
SNYK-ALPINE39-OPENSSL-1089232
  614  
high severity Integer Overflow or Wraparound
SNYK-ALPINE39-OPENSSL-1089235
  614  
high severity NULL Pointer Dereference
SNYK-ALPINE39-OPENSSL-588029
  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:

🦉 NULL Pointer Dereference

Copilot AI review requested due to automatic review settings July 22, 2025 09:13
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 upgrades the Go base image in the Dockerfile from version 1.10-alpine to 1.25rc2-alpine to address 4 critical and high severity security vulnerabilities identified by Snyk.

  • Updates the base image to eliminate critical out-of-bounds write vulnerabilities in musl
  • Resolves high severity OpenSSL vulnerabilities including improper certificate validation and integer overflow issues
  • Upgrades from a very outdated Go version (1.10) to the latest release candidate (1.25rc2)

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

Copilot AI Jul 22, 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) image in production is not recommended as it may contain unstable features or bugs. Consider using a stable version like golang:1.25-alpine once available, or the latest stable version such as golang:1.24-alpine.

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.

2 participants