Skip to content

Critical CVE reported for golang.org/x/crypto #2152

Closed

Description

@markphillips100

What happened in your environment?

My project's CI is failing due to a trivy gate highlighting CVE-2026-56854 related to package golang.org/x/crypto. I noticed the toolchain has recently updated so will this also bump this package to 0.55.0+ and can we expect a release soon?

What did you expect to happen?

No response

How can we reproduce it?

Run a trivy check over an image built with latest oras installed using

RUN ORAS_VERSION=$(curl -s https://api.github.com/repos/oras-project/oras/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed 's/v//') && \
    curl -LO "https://github.com/oras-project/oras/releases/download/v${ORAS_VERSION}/oras_${ORAS_VERSION}_linux_amd64.tar.gz" && \
    tar -xzf oras_${ORAS_VERSION}_linux_amd64.tar.gz && \
    mv oras /usr/local/bin/ && \
    chmod +x /usr/local/bin/oras && \
    rm oras_${ORAS_VERSION}_linux_amd64.tar.gz

What is the version of your ORAS CLI?

Latest, v1.3.4

What is your OS environment?

Ubuntu 24.04 base image

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Sep 4, 2026
  2. TerryHowe commented on Sep 4, 2026

    @TerryHowe
    Member

    The reported CVE is unreachable code in the ORAS CLI. The vulnerability is in x/crypto/ssh and the ORAS CLI is not a ssh server.

  3. markphillips100 commented on Sep 5, 2026

    @markphillips100
    Author

    Good to know, and thanks for the rapid response. However I'm not privileged enough to modify my pipeline to avoid the trivy report so blocked until this is resolved.

  4. markphillips100 commented on Sep 5, 2026

    @markphillips100
    Author

    I've been allowed to add a trivy ignore for this CVE for my specific image so not a blocker anymore.

  5. added
    question
    on Oct 1, 2026
  6. TerryHowe commented on Oct 1, 2026

    @TerryHowe
    Member

    Tracking the dependency bump in #2206 — closing this in favour of that. As noted above, the CVE itself is unreachable from the ORAS CLI, but bumping x/crypto will stop it showing up in image scans.

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

    bugquestiontriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions