Skip to content

chore: upgrade Go to 1.25.8 to fix stdlib CVEs#2548

Merged
jjbustamante merged 1 commit intomainfrom
chore/fix-go-stdlib-vulnerabilities
Mar 13, 2026
Merged

chore: upgrade Go to 1.25.8 to fix stdlib CVEs#2548
jjbustamante merged 1 commit intomainfrom
chore/fix-go-stdlib-vulnerabilities

Conversation

@jjbustamante
Copy link
Member

@jjbustamante jjbustamante commented Mar 13, 2026

Summary

  • Bumps Go version from 1.25.7 to 1.25.8 in go.mod
  • Fixes three vulnerabilities in the Go standard library detected via grype on the buildpacksio/pack:0.40.1 image
CVE Severity Fixed in
CVE-2026-25679 High 1.25.8
CVE-2026-27142 High 1.25.8
CVE-2026-27139 Low 1.25.8

The Dockerfile (golang:1.25) and CI workflows already use floating minor-version tags, so they will automatically pick up 1.25.8.

Test plan

  • CI passes with Go 1.25.8
  • Re-run grype on the new image to confirm vulnerabilities are resolved

Resolves #2547

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>
@jjbustamante jjbustamante requested review from a team as code owners March 13, 2026 12:38
@github-actions github-actions bot added this to the 0.41.0 milestone Mar 13, 2026
@github-actions github-actions bot added the type/chore Issue that requests non-user facing changes. label Mar 13, 2026
@jjbustamante jjbustamante modified the milestones: 0.41.0, 0.40.2 Mar 13, 2026
@jjbustamante jjbustamante self-assigned this Mar 13, 2026
@jjbustamante
Copy link
Member Author

jjbustamante commented Mar 13, 2026

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)

@jjbustamante jjbustamante merged commit c91bcbb into main Mar 13, 2026
15 checks passed
@jjbustamante jjbustamante deleted the chore/fix-go-stdlib-vulnerabilities branch March 13, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cve type/chore Issue that requests non-user facing changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CVE(s) found

1 participant