CVE-2020-15391 DevSpace vulnerable to remote code execution

Critical 9.8 Published Updated

DevSpace UI lacks WebSocket authentication, allowing attackers to execute remote code on pods via CSRF-like attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-15391?

CVE-2020-15391 is a critical missing authorization vulnerability in n/a, published on 23 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The UI in DevSpace 4.13.0 allows web sites to execute actions on pods (on behalf of a victim) because of a lack of authentication for the WebSocket protocol. This leads to remote code execution.

Weakness: CWE-306

Which versions are affected by CVE-2020-15391?

2 open source packages ship an affected version, including github.com/loft-sh/devspace. It affects 1 product.

PackageAffectedFixed in
github.com/loft-sh/devspace GoAll versions4.14.0
github.com/loft-sh/devspace GoAll versions4.14.0

Products include Devspace Devspace.

How do I fix CVE-2020-15391?

Upgrade github.com/loft-sh/devspace to 4.14.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-15391 being exploited?

There is no known exploitation of CVE-2020-15391 in the wild and no public exploit code.

Sources

Also known as GHSA-6h8c-gw33-cjm2.

Is CVE-2020-15391 in your software?

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

Check your SBOMs for free