CVE-2020-26279Path traversal
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.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.23 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.22 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.21 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.20 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.19 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.18 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.17 | kubo | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.16 | go-ipfs | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.15 | go-ipfs | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.14 | go-ipfs | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Alpine Linux 3.13 | go-ipfs | Fixed | 0.8.0-r0 | ALPINE-CVE-2020-26279 |
| Go library | github.com/ipfs/go-ipfs | Fixed | 0.8.0 | GO-2022-0779 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ipfs go-ipfs: affected: < 0.8.0-rc1
References
- https://github.com/ipfs/go-ipfs/security/advisories/GHSA-27pv-q55r-222g
- https://github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2
- https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.