You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bump golang.org/x/crypto to v0.55.0 or later #2206
golang.org/x/crypto is currently pinned at v0.52.0 as an indirect dependency in go.mod. It should be bumped to v0.55.0 or later.
Why
v0.52.0 is flagged by image scanners (trivy and friends) for CVE-2026-56854 in golang.org/x/crypto/ssh. The vulnerable code is not reachable from the ORAS CLI — ORAS is not an SSH server — so this is not an exploitable vulnerability in ORAS. It is, however, a recurring source of false-positive scan failures for anyone who installs the oras binary into a scanned container image, and some of those users are not permitted to add scanner ignore rules.
Bumping the dependency is a one-line change that makes the noise go away.
What to do
Because x/crypto is an indirect dependency, Dependabot does not propose an upgrade for it on its own. It needs an explicit bump:
go get golang.org/x/crypto@latest
go mod tidy
Then confirm go.mod shows v0.55.0 or newer and that the build and tests still pass.
Context
Reported in #2152, which is closed in favour of this issue.
Activity
TanvirTian commentedon Oct 1, 2026
I'd like to work on this issue, if that's okay. I'll take a look at the dependency update and submit a PR.