6.8medium
Control character injection in console output
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.50% (higher than 75% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r4gv-vj59-cccmGO-2022-0873
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ipfs go-ipfs | < 0.8.0 | CVE List |
| github.com/ipfs/go-ipfs (Go) | before 0.8.0 | GitHub Advisory Database, Go Vulnerability Database |
| protocol go-ipfs | before 0.8.0 | NVD |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
<!-- _Has the problem been patched? What versions should users upgrade to?_ -->- Patched via https://github.com/ipfs/go-ipfs/pull/7831 in v0.8.0
For more information
If you have any questions or comments about this advisory:
- Open an issue in go-ipfs
- Email us at security@ipfs.io
Go Vulnerability Database
Control character injection in console output in github.com/ipfs/go-ipfs
NVD (es)
go-ipfs es una implementación golang de código abierto de IPFS, que es un sistema de archivos global, versionado, peer-to-peer. En go-ipfs versiones anteriores a 0.8.0, los caracteres de control no se escapan de la salida de la consola. Esto puede resultar en ocultar la entrada del usuario, lo que podría resultar en que el usuario tome una acción maliciosa desconocida. Esto se corrige en la versión 0.8.0
References
| https://github.com/ipfs/go-ipfs/security/advisories/GHSA-r4gv-vj59-cccm | advisory, third-party-advisory, web | |
| https://github.com/ipfs/go-ipfs/pull/7831 | fix, patch, third-party-advisory, web | |
| https://github.com/ipfs/go-ipfs/commit/fb0a9acd2d8288bd1028c3219a420de62a09683a | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26283 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26283 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r4gv-vj59-cccm changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0873 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2020-26283 changed 2026-06-17 | Public domain |