Repository navigation
build(deps): bump golang base image to 1.27.4 to fix stdlib CVEs - #1406
Open
ShradhaGupta31 wants to merge 1 commit into
Open
ShradhaGupta31 wants to merge 1 commit into
ShradhaGupta31 wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1406 +/- ##
=======================================
Coverage 62.32% 62.32%
=======================================
Files 159 159
Lines 13435 13435
=======================================
Hits 8373 8373
Misses 5062 5062 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the Dockerfile’s Go base-image digest updates.
No open issues 🎉
What changed in this PR
Updates the pinned Go base image in the Docker build to target Go 1.27.4 and address the standard-library vulnerability reported in the PR.
Changes:
- Replaces the image digest in both the module-cache and builder stages, keeping them aligned.
| File | Description |
|---|---|
| Dockerfile | Updates both golang:1.27-alpine digest pins to the intended patched image. |
Review effort: Balanced
Update the pinned golang:1.27-alpine digest in both Dockerfile build stages to the Go 1.27.4 image. Go 1.27.3 stdlib is affected by CVE-2026-97054 (MaxBytesReader header race), which Trivy flagged in the built image. Trivy now reports 0 vulnerabilities. Signed-off-by: ShradhaGupta31 <shradha.gupta@intel.com>
amarnath-ac
approved these changes
Nov 12, 2026
DevipriyaS17
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the pinned golang:1.27-alpine digest in both Dockerfile build stages to the Go 1.27.4 image. Go 1.27.3 stdlib is affected by CVE-2026-97054, which Trivy flagged in the built image. Trivy now reports 0 vulnerabilities.