CVE-2020-26283 Control character injection in console output
Attackers can inject control characters into console output to hide input, potentially tricking users into malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-26283?
CVE-2020-26283 is a medium-severity vulnerability in go-ipfs, published on 24 Mar 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
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, 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.
Weakness: CWE-116
Which versions are affected by CVE-2020-26283?
3 open source packages ship an affected version, including github.com/ipfs/go-ipfs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ipfs/go-ipfs Go | All versions | 0.8.0 |
github.com/ipfs/go-ipfs Go | All versions | 0.8.0 |
github.com/ipfs/go-ipfs Go | All versions | 0.8.0 |
Products include Protocol Go-Ipfs.
How do I fix CVE-2020-26283?
Upgrade github.com/ipfs/go-ipfs to 0.8.0 or later.
Is CVE-2020-26283 being exploited?
There is no known exploitation of CVE-2020-26283 in the wild and no public exploit code.
Other vulnerabilities in go-ipfs
Sources
Also known as GHSA-r4gv-vj59-cccm, GO-2022-0873.