Skip to content

fix: bump golang.org/x/mod to v0.40.0 for sumdb verification vulnerabilities - #121

Merged
edmondas merged 1 commit into
mainfrom
fix/bump-x-mod-sumdb-cves
Aug 15, 2026
Merged

fix: bump golang.org/x/mod to v0.40.0 for sumdb verification vulnerabilities#121
edmondas merged 1 commit into
mainfrom
fix/bump-x-mod-sumdb-cves

Conversation

@edmondas

Copy link
Copy Markdown
Member

Summary

Clears the two open Trivy code-scanning alerts (CVE-2026-56864, CVE-2026-56865) against golang.org/x/mod v0.37.0, both fixed in v0.40.0. They are sumdb/transparency-log verification flaws that would let a coordinating malicious GOPROXY/GOSUMDB serve module content bypassing the checksum-database check.

Impact on the webhook is nil — x/mod is a test-only indirect dependency (cert-manager/test/acmemiekg/dnsx/tools/go/packagesx/mod/semver), never enters the shipped binary, and the affected code path only runs while resolving Go modules. Bumping anyway since the fix is free.

go mod tidy pulled the transitive bumps along with it:

  • golang.org/x/mod 0.37.0 → 0.40.0
  • golang.org/x/crypto 0.54.0 → 0.55.0
  • golang.org/x/net 0.56.0 → 0.58.0
  • golang.org/x/text 0.40.0 → 0.41.0
  • golang.org/x/tools 0.47.0 → 0.49.0

@edmondas
edmondas merged commit a3709e5 into main Aug 15, 2026
10 checks passed
@edmondas
edmondas deleted the fix/bump-x-mod-sumdb-cves branch August 15, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant