Skip to content

Conversation

@howardfackrell
Copy link

snyk-top-banner

Snyk has created this PR to fix 3 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, as this image has only 110 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 Arbitrary Argument Injection
SNYK-DEBIAN8-GIT-340820
  886  
critical severity Arbitrary Argument Injection
SNYK-DEBIAN8-GIT-340820
  886  
high severity Directory Traversal
SNYK-DEBIAN8-GIT-340907
  786  
high severity Directory Traversal
SNYK-DEBIAN8-GIT-340907
  786  
high severity Improper Input Validation
SNYK-DEBIAN8-OPENSSH-368697
  786  

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:

🦉 Directory Traversal
🦉 Improper Input Validation

Copilot AI review requested due to automatic review settings July 28, 2025 08:43
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.8 to 1.25rc2 to address security vulnerabilities identified by Snyk.

  • Upgrades the Go Docker base image from golang:1.8 to golang:1.25rc2
  • Fixes 3 security vulnerabilities including critical arbitrary argument injection and high-severity directory traversal issues
Comments suppressed due to low confidence (1)

Dockerfile:1

  • The Go version '1.25rc2' does not exist. As of my knowledge cutoff in January 2025, Go versions follow the pattern 1.x.x (e.g., 1.21.0, 1.22.0). Version 1.25 would not be available yet. Consider using a stable version like golang:1.21 or golang:1.22 instead.
FROM golang:1.25rc2

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

Copilot AI Jul 28, 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 version (rc2) in production is not recommended as it's a pre-release version that may contain bugs or breaking changes. Consider using a stable release version instead.

Suggested change
FROM golang:1.25rc2
FROM golang:1.20

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