{"id":"CVE-2020-26283","aliases":["ALPINE-CVE-2020-26283","EUVD-2021-1391","GHSA-r4gv-vj59-cccm","GO-2022-0873"],"status":"published","title":"Control character injection in console output","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, control characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action. This is fixed in version 0.8.0.","severity":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01501,"percentile":0.74515,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-116","CWE-150"],"published":"2021-03-24T20:30:19Z","modified":"2026-11-03T06:32:37Z","fixes":[{"ecosystem":"Go","package":"github.com/ipfs/go-ipfs","fixed_in":["0.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.13","package":"go-ipfs","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"go-ipfs","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"go-ipfs","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"go-ipfs","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"kubo","fixed_in":["0.8.0-r0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/ipfs/go-ipfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"go-ipfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"go-ipfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"go-ipfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"go-ipfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"kubo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-r0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ipfs/go-ipfs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/ipfs/go-ipfs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}]}],"products":[{"vendor":"ipfs","product":"go-ipfs"},{"vendor":"protocol","product":"go-ipfs"}],"references":[{"url":"https://github.com/ipfs/go-ipfs/security/advisories/GHSA-r4gv-vj59-cccm","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/ipfs/go-ipfs/pull/7831","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/ipfs/go-ipfs/commit/fb0a9acd2d8288bd1028c3219a420de62a09683a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26283","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r4gv-vj59-cccm"},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-26283","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-26283","title":"Control character injection in console output","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, control characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action. This is fixed in version 0.8.0.","status":"published","published":"2021-03-24T20:30:19Z","modified":"2024-08-04T15:56:04.593Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:35:46.129376Z"}],"euvd":[{"id":"EUVD-2021-1391","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, control characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action. This is fixed in version 0.8.0.","status":"published","published":"2021-03-24T20:30:19Z","modified":"2024-08-04T15:56:04Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T03:07:14.653267Z"}],"ghsa":[{"id":"GHSA-r4gv-vj59-cccm","title":"Control character injection in console output in github.com/ipfs/go-ipfs ","description":"### Impact\nControl characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action.\n\n### Patches\n\u003c!-- _Has the problem been patched? What versions should users upgrade to?_  --\u003e\n\n- Patched via https://github.com/ipfs/go-ipfs/pull/7831 in v0.8.0\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [go-ipfs](http://github.com/ipfs/go-ipfs)\n* Email us at [security@ipfs.io](mailto:security@ipfs.io)","status":"published","published":"2021-06-23T17:27:27Z","modified":"2023-01-09T05:04:34Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-116","CWE-150"],"updated_at":"2026-11-02T14:36:10.502376Z"}],"nvd":[{"id":"CVE-2020-26283","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, control characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action. This is fixed in version 0.8.0.","status":"published","published":"2021-03-24T21:15:11.163Z","modified":"2026-06-17T03:07:59.72Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:06:37.687844Z"}],"osv":[{"id":"ALPINE-CVE-2020-26283","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, control characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action. This is fixed in version 0.8.0.","status":"published","published":"2021-03-24T21:15:11.163Z","modified":"2026-11-03T06:32:37.153731021Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:20.312441Z"},{"id":"CVE-2020-26283","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, control characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action. This is fixed in version 0.8.0.","status":"published","published":"2021-03-24T21:15:11.163Z","modified":"2026-10-20T10:52:58.359333107Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.248747Z"},{"id":"GHSA-r4gv-vj59-cccm","title":"Control character injection in console output in github.com/ipfs/go-ipfs ","description":"### Impact\nControl characters are not escaped from console output. This can result in hiding input from the user which could result in the user taking an unknown, malicious action.\n\n### Patches\n\u003c!-- _Has the problem been patched? What versions should users upgrade to?_  --\u003e\n\n- Patched via https://github.com/ipfs/go-ipfs/pull/7831 in v0.8.0\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [go-ipfs](http://github.com/ipfs/go-ipfs)\n* Email us at [security@ipfs.io](mailto:security@ipfs.io)","status":"published","published":"2021-06-23T17:27:27Z","modified":"2026-09-10T03:49:26.995963572Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-116","CWE-150"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"GO-2022-0873","title":"Control character injection in console output in github.com/ipfs/go-ipfs","description":"Control character injection in console output in github.com/ipfs/go-ipfs","status":"published","published":"2024-08-21T15:29:06Z","modified":"2026-03-03T04:52:21.780688Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
