Description
go-ipfs is an open-source golang implementation of IPFS which is a global, versioned, peer-to-peer filesystem. In go-ipfs before version 0.8.0-rc1, it is 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 a get is done on an affected DAG. This is fixed in version 0.8.0-rc1.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/ipfs/go-ipfs/security/advisories/GHSA-27pv-q55r-222g
Patch, Third Party Advisory x_refsource_misc
https://github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2
Patch, Third Party Advisory x_refsource_misc
https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227
Scores
CVSS v3
7.7
EPSS
0.0162
EPSS Percentile
82.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Details
CWE
CWE-22
Status
published
Products (2)
ipfs/go-ipfs
0 - 0.8.0Go
protocol/go-ipfs
< 0.7.0
Published
Mar 24, 2021
Tracked Since
Feb 18, 2026