Skip to content

build(deps): bump golang.org/x/crypto to v0.56.0 and golang.org/x/mod to v0.40.0 - #609

Open
OfekInbar-Amazon wants to merge 1 commit into
notaryproject:mainfrom
OfekInbar-Amazon:fix/bump-crypto-mod-cves
Open

OfekInbar-Amazon wants to merge 1 commit into
notaryproject:mainfrom
OfekInbar-Amazon:fix/bump-crypto-mod-cves

Conversation

@OfekInbar-Amazon

Copy link
Copy Markdown

Summary

Bumps two dependencies to versions that fix vulnerabilities reported by govulncheck:

Module From To
golang.org/x/crypto v0.41.0 v0.56.0
golang.org/x/mod v0.27.0 v0.40.0

Only go.mod and go.sum change. go.sum also swaps the indirect golang.org/x/net entry from v0.42.0 to v0.57.0, as resolved by go mod tidy. There are no source changes and the go directive is unchanged.

Vulnerabilities addressed

  • golang.org/x/crypto v0.56.0 fixes the findings in ssh and ssh/agent (GO-2025-4116, GO-2025-4134, GO-2025-4135, GO-2026-5005, GO-2026-5006, GO-2026-5013 to GO-2026-5021, GO-2026-5033, GO-2026-6303, GO-2026-6354, GO-2026-6355).
  • golang.org/x/mod v0.40.0 fixes the sumdb findings (GO-2026-6179, GO-2026-6180).

notation-go does not call the affected packages, so govulncheck did not flag these as reachable. The bump removes them from the dependency graph for downstream consumers.

Not addressed

  • GO-2026-5932 (x/crypto/openpgp is unmaintained) has no fixed release.
  • github.com/Azure/go-ntlmssp (indirect, via go-ldap) has GO-2026-5543, fixed in v0.1.1. That is not included here and can be handled separately.
  • The oras.land/oras-go/v2 fixes already landed in build(deps): bump oras.land/oras-go/v2 from 2.6.0 to 2.7.0 #598.

Testing

  • go build ./... passes.
  • make test passes for all packages.
  • govulncheck ./... reports 0 vulnerabilities affecting this code.

Related issues

None.

… to v0.40.0

Address vulnerabilities reported by govulncheck in golang.org/x/crypto and golang.org/x/mod.

Signed-off-by: Ofek Inbar <inbarofe@amazon.com>
@OfekInbar-Amazon
OfekInbar-Amazon marked this pull request as draft December 4, 2026 22:00
@OfekInbar-Amazon
OfekInbar-Amazon marked this pull request as ready for review December 4, 2026 22:03
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