Skip to content

chore(go): rebuild with Go 1.26.4 to fix stdlib CVEs#44

Merged
alaudabot merged 4 commits into
alauda-v2.6.2from
fix/go-1264-stdlib-vuln
Jun 8, 2026
Merged

chore(go): rebuild with Go 1.26.4 to fix stdlib CVEs#44
alaudabot merged 4 commits into
alauda-v2.6.2from
fix/go-1264-stdlib-vuln

Conversation

@l-qing

@l-qing l-qing commented Jun 7, 2026

Copy link
Copy Markdown

Why

Released binaries on alauda-v2.6.2 build with Go 1.26.3 and carry stdlib
CVE-2026-42504 (HIGH), CVE-2026-27145 (MEDIUM) and CVE-2026-42507
(MEDIUM), all fixed in Go 1.26.4.

What

Bump the go directive in go.mod to 1.26.4. The Alauda release
workflow uses actions/setup-go with go-version-file: go.mod, so the
next auto-cut -alauda-N release builds on Go 1.26.4 and scans clean.

Consumed downstream by AlaudaDevops/catalog images.

l-qing and others added 4 commits June 7, 2026 16:30
Rebuild released binaries with Go 1.26.4 to clear stdlib CVE-2026-42504,
CVE-2026-27145 and CVE-2026-42507. The Alauda release workflow resolves the
toolchain via setup-go go-version-file: go.mod, so bumping this directive is
sufficient for the next -alauda-N release to build on Go 1.26.4.
Dockerfile and test/fakeoidc/go.mod were still pinned to 1.26.3 while
the main go.mod already requires go >= 1.26.4. With GOTOOLCHAIN=local
this caused builds to fail. Bump both to 1.26.4 to restore consistency.
The in-toto-golang v0.11.0 security bump deprecated the legacy
Statement/StatementHeader/Subject/ProvenancePredicate types in favor
of the protobuf-generated in_toto Attestation Framework v1 API. The
attestation code still uses the legacy API, so staticcheck SA1019 fails
the lint job. Migrating to the v1 API is a separate effort; mirror the
existing Rekor-v1 SA1019 exclusions and suppress the deprecation lint on
the affected files until that migration lands.
Two more files under cmd/cosign/cli still use the deprecated
in_toto.Statement/StatementHeader API and were missed by the first
exclusion pass. Cover them so the lint job passes.
@alaudabot alaudabot merged commit 0e91dfa into alauda-v2.6.2 Jun 8, 2026
17 checks passed
@alaudabot alaudabot deleted the fix/go-1264-stdlib-vuln branch June 8, 2026 01:51
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.

3 participants