Skip to content

Bump golang.org/x/crypto to v0.55.0 or later #2206

Closed

Description

@TerryHowe

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

  1. added
    help wanted
    good first issue
    dependencies
    on Oct 1, 2026
  2. TanvirTian commented on Oct 1, 2026

    @TanvirTian
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions