QID 982070
QID 982070: Go (go) Security Update for github.com/ipfs/go-ipfs (GHSA-27pv-q55r-222g)
Security update has been released for github.com/ipfs/go-ipfs to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
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.
Solution
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/b7ddba7fe47dee5b1760b8ffe897908417e577b2Workaround:
Upgrade to go-ipfs 0.8 or later.
`tar-utils` patch applied to go-ipfs via https://github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2Workaround:
Upgrade to go-ipfs 0.8 or later.
Vendor References
- GHSA-27pv-q55r-222g -
github.com/advisories/GHSA-27pv-q55r-222g
CVEs related to QID 982070
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-27pv-q55r-222g | github.com/ipfs/go-ipfs |
|