Skip to content

fix(deps): bump golang.org/x/net to v0.62.0 in example modules - #99

Merged
appleboy merged 1 commit into
masterfrom
fix/xnet-cve-2026-78661-examples
Nov 8, 2026
Merged

appleboy merged 1 commit into
masterfrom
fix/xnet-cve-2026-78661-examples

Conversation

@appleboy

@appleboy appleboy commented Nov 8, 2026

Copy link
Copy Markdown
Member

Change

Bump golang.org/x/net from v0.60.0 to v0.62.0 (with related x/crypto, x/sys, x/text bumps pulled in by go mod tidy) to fix two known CVEs flagged by the scheduled Trivy Security Scan:

Vulnerability Severity Fixed version
CVE-2026-78661 HIGH v0.62.0
CVE-2026-97045 MEDIUM v0.62.0

Reviewer verification — gin-contrib/timeout

Head branch: fix/xnet-cve-2026-78661

  1. Confirm the vulnerable version is gone:
    grep 'golang.org/x/net' go.mod   # no v0.60.0; should show ≥ v0.62.0
    grep -c 'golang.org/x/net v0.60.0' go.sum   # 0 hits expected
  2. Build and test:
    go build ./... && go test ./...
    Expected: all packages compile, all tests pass.
  3. Trivy check (matches the failing CI scan):
    trivy fs --scanners vuln --severity HIGH,CRITICAL .
    Expected: no HIGH/CRITICAL findings.

Execution evidence (run by the AI agent, see authorship note): go build ./... passed, go test ./... passed, go mod tidy clean.

Evidence

N/A — dependency version bump with no performance claim or UI change.

AI authorship

  • Tool / model: Claude Code (claude-mtk-glm-5-3)
  • AI-authored files: go.mod, go.sum
  • Human line-by-line reviewed: None — not yet reviewed by a human.

🤖 Generated with Claude Code

- Upgrade golang.org/x/net from v0.60.0 to v0.62.0 in nested example module(s) to fix CVE-2026-78661 (HIGH) and CVE-2026-97045 (MEDIUM)
- Resolves Trivy Security Scan failure on the default branch

Co-Authored-By: Claude Code <noreply@anthropic.com>
@appleboy
appleboy merged commit 7c3ca0f into master Nov 8, 2026
4 of 8 checks passed
@appleboy
appleboy deleted the fix/xnet-cve-2026-78661-examples branch November 8, 2026 09:53
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