Path Traversal in Ipfs Go-Ipfs
CVE-2020-26279
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.017, 77.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ipfs Go-Ipfs — versions < 0.8.0-rc1
- Protocol Go-Ipfs
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (cokeBeer/go-cves). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/ipfs/go-ipfs/security/advisories/GHSA-27pv-q55r-222g (Third Party Advisory)
- github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2 (Patch, Third Party Advisory)
- github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac… (Patch, Third Party Advisory)