Skip to content

← Public intelligence

Go package

github.com/deislabs/oras

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.7GoPublished

    Zip slip directory exploit in github.com/deislabs/oras

    CVE-2021-21272 · GHSA-g5v4-5x39-vwhx

    Affected
    • Go github.com/deislabs/oras < 0.9.0
    Fixed in
    0.9.0· Vendor fix available
    Issue
    Impact The directory support (#55) allows the downloaded gzipped tarballs to be automatically extracted to the user-specified directory where the tarball can have symbolic links and hard links. A well-crafted tarball or tarballs allow malicious artifact providers linking, writing, or overwriting specific files on the host filesystem outside of the user-specified directory unexpectedly with the same permissions as the user who runs oras pull. Precisely, the following users of the affected versions are impacted - oras CLI users who runs oras pull. - Go programs, which invokes github.com/deislabs/oras/pkg/content.FileStore. Patches The problem has been patched by the PR linked with this advisory. Users should upgrade their oras CLI and packages to 0.9.0. Workarounds For oras CLI users, there is no workarounds other than pulling from a trusted artifact provider. For oras package users, the workaround is to not use github.com/deislabs/oras/pkg/content.FileStore, and use other content…

    Recommended action: Upgrade to 0.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →