Skip to content

x/vulndb: potential Go vuln in github.com/ipfs/go-ipfs: GHSA-27pv-q55r-222g #1301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoVulnBot opened this issue Jan 9, 2023 · 1 comment

Comments

@GoVulnBot
Copy link

In GitHub Security Advisory GHSA-27pv-q55r-222g, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
github.com/ipfs/go-ipfs 0.8.0 < 0.8.0

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: TODO
    versions:
      - fixed: 0.8.0
    packages:
      - package: github.com/ipfs/go-ipfs
description: |-
    ### Impact
    It is currently possible for path traversal to occur with DAGs containing relative paths during retrieval. This can cause files to be overwritten, or written to incorrect output directories. The issue can only occur when `ipfs get` is done on an affected DAG.

    1. The only affected command is `ipfs get`.
    2. The gateway is not affected.

    ### Patches
    Traversal fix patched in https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227
    `tar-utils` patch applied to go-ipfs via https://github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2

    ### Workarounds
    Upgrade to go-ipfs 0.8 or later.

    ### References
    Binaries for the patched versions of go-ipfs are available on the IPFS distributions site, https://dist.ipfs.io/go-ipfs

    ### For more information
    If you have any questions or comments about this advisory:
    * Open an issue in [go-ipfs](https://github.com/ipfs/go-ipfs)
    * Email us at [[email protected]](mailto:[email protected])
cves:
  - CVE-2020-26279
ghsas:
  - GHSA-27pv-q55r-222g

@tatianab
Copy link
Contributor

tatianab commented Jan 9, 2023

Duplicate of #779

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

No branches or pull requests

2 participants