chore: upgrade Go to 1.25.8 to fix stdlib CVEs#2548
Merged
jjbustamante merged 1 commit intomainfrom Mar 13, 2026
Merged
Conversation
Fixes CVE-2026-25679 (High), CVE-2026-27142 (High), and CVE-2026-27139 (Low) in the Go standard library by bumping the minimum Go version to 1.25.8. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Juan Bustamante <bustamantejj@gmail.com>
Member
Author
Local Testing>$ git status
On branch chore/fix-go-stdlib-vulnerabilities
Your branch is up to date with 'origin/chore/fix-go-stdlib-vulnerabilities'.
>$ go version
go version go1.25.8 linux/amd64
>$ make build
=====> Building...
go build -ldflags "-s -w -X 'github.com/buildpacks/pack/pkg/client.Version=0.0.0+git-c26c423' -extldflags ''" -trimpath -o ./out/pack -a
>$ grype out/pack
✔ Indexed file system out/pack
✔ Cataloged contents 88e773bb583e8e5a7a6fbd158e5d3a890944da1588aa164b45dc90d92a6074ac
├── ✔ Packages [132 packages]
├── ✔ Executables [1 executables]
├── ✔ File digests [1 files]
└── ✔ File metadata [1 locations]
✔ Scanned for vulnerabilities [0 vulnerability matches]
├── by severity: 0 critical, 0 high, 0 medium, 0 low, 0 negligible
└── by status: 0 fixed, 0 not-fixed, 0 ignored
No vulnerabilities found
A newer version of grype is available for download: 0.109.1 (installed version is 0.109.0)
|
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.
Summary
1.25.7to1.25.8ingo.modgrypeon thebuildpacksio/pack:0.40.1imageThe
Dockerfile(golang:1.25) and CI workflows already use floating minor-version tags, so they will automatically pick up 1.25.8.Test plan
grypeon the new image to confirm vulnerabilities are resolvedResolves #2547