Vulnerability · Published Mar 24, 2021 · Assigned by GitHub_M
CVE-2020-26279Path traversal
High 7.7
In plain English
A high-severity path traversal in go-ipfs from ipfs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | kubo | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine:v3.21 | kubo | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine:v3.22 | kubo | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine:v3.23 | kubo | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine:v3.24 | kubo | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Go | github.com/ipfs/go-ipfs | 0.8.0 | GHSA-27pv-q55r-222g |
| Go | github.com/ipfs/go-ipfs | 0.8.0 | GO-2022-0779 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N