Skip to content

fix(deps): update golang.org/x/net to close CVE-2026-78669 - #667

Merged
pirog-spb merged 2 commits into
mainfrom
fix/deps-x-net-cve-2026-78669
Oct 12, 2026
Merged

pirog-spb merged 2 commits into
mainfrom
fix/deps-x-net-cve-2026-78669

Conversation

@pirog-spb

@pirog-spb pirog-spb commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

The Security scan fs/image jobs fail with exit code 1 on a newly published HIGH vulnerability:

golang.org/x/net v0.57.0 -> fixed in v0.60.0 | CVE-2026-78669

Bump golang.org/x/net to v0.61.0 (latest, requires go 1.26 already set in go.mod since #654); go mod tidy also pulls the current patch versions of the sibling modules: x/crypto v0.58.0, x/sys v0.49.0, x/text v0.43.0, x/tools v0.51.0.

pirog-spb added 2 commits October 12, 2026 11:38
The Security scan fs/image jobs fail with exit code 1 on a newly
published HIGH vulnerability:

  golang.org/x/net v0.57.0 -> fixed in v0.60.0 | CVE-2026-78669

Bump golang.org/x/net to v0.61.0 (latest, requires go 1.26 already set
in go.mod since #654); go mod tidy also pulls the current patch
versions of the sibling modules: x/crypto v0.58.0, x/sys v0.49.0,
x/text v0.43.0, x/tools v0.51.0.

Verified in a linux/amd64 container (golang:1.26.8-bookworm):
golangci-lint v2.14.0 (prebuilt binary) - 0 issues; go build - OK;
go test ./cmd/... - all packages pass; trivy fs scan - 0 HIGH/CRITICAL
findings.

Signed-off-by: pirog-spb <[email protected]>
The scan-image job detects the Go standard library version compiled
into the binary (via buildinfo) and fails with 3 HIGH vulnerabilities
fixed in Go 1.26.9 (also 1.27.2):

  stdlib v1.26.8: CVE-2026-78667, CVE-2026-78669, CVE-2026-97031

Bump the builder image golang:1.26.8-bookworm -> golang:1.26.9-bookworm
(Go 1.26.9 released 2026-10-02) and the documented Golang version in
the README. The fs scan does not catch this class: it checks go.mod
dependencies, while the image scan detects the actual toolchain the
binary was built with.

Verified locally: docker build with the new builder, trivy image scan
with trivy.yaml/.trivyignore - 0 HIGH/CRITICAL findings.

Signed-off-by: pirog-spb <[email protected]>
@pirog-spb
pirog-spb force-pushed the fix/deps-x-net-cve-2026-78669 branch from 3126ba7 to 305fdbe Compare October 12, 2026 08:38
@pirog-spb
pirog-spb merged commit bf735a2 into main Oct 12, 2026
12 checks passed
pirog-spb added a commit that referenced this pull request Oct 31, 2026
Signed-off-by: pirog-spb <[email protected]>
(cherry picked from commit bf735a2)
Signed-off-by: pirog-spb <[email protected]>
pirog-spb added a commit that referenced this pull request Oct 31, 2026
Signed-off-by: pirog-spb <[email protected]>
(cherry picked from commit bf735a2)
Signed-off-by: pirog-spb <[email protected]>
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.

1 participant