CVE-2020-26283 Control character injection in console output

Medium 6.8 Published Updated

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.

PackageAffectedFixed in
github.com/ipfs/go-ipfs GoAll versions0.8.0
github.com/ipfs/go-ipfs GoAll versions0.8.0
github.com/ipfs/go-ipfs GoAll versions0.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.

Sources

Also known as GHSA-r4gv-vj59-cccm, GO-2022-0873.

Is CVE-2020-26283 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free