{"id":"CVE-2020-26279","published":"2021-03-24T20:20:14Z","modified":"2024-08-04T15:56:04Z","title":"Path traversal","vendor":"ipfs","product":"go-ipfs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01699,"percentile":0.77767,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/ipfs/go-ipfs/security/advisories/GHSA-27pv-q55r-222g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2","tags":["x_refsource_MISC"]},{"url":"https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227","tags":["x_refsource_MISC"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":15.55},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"ipfs","affectedVersions":[{"vendor":"ipfs","product":"go-ipfs","versions":["< 0.8.0-rc1"]}],"affected":[{"ecosystem":"Go","package":"github.com/ipfs/go-ipfs","vulnerableRanges":["<0.8.0"],"patched":["0.8.0"],"from":["GHSA-27pv-q55r-222g","GO-2022-0779"],"provenance":"source"}],"summary":{"text":"Path traversal in go-ipfs, the Golang implementation of IPFS, affects retrieval of DAGs containing relative paths. An attacker who can get a user to retrieve a crafted DAG (through peer network access and user interaction, with low privileges required) can overwrite files or write them to unintended output directories, though this only occurs when a get is performed on the affected DAG.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:36Z"},"euvd":{"id":"EUVD-2021-1239","exploited":false,"provenance":"source"}}