CVE-2020-15391: Github.com/loft sh/devspace Remote Code Execution Vulnerability
CRITICALCVE-2020-15391 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-287: Improper Authentication) affecting Github.com/loft sh/devspace libraries in the Go ecosystem. The issue involves devspace vulnerable to remote code execution. Remediation is available by upgrading affected packages to version 4.14.0.
CVE-2020-15391 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-15391
To remediate this vulnerability, upgrade all affected Github.com/loft sh/devspace dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/loft-sh/devspace to 4.14.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/loft-sh/devspace
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15391, inspect your project dependencies for Github.com/loft sh/devspace:
inspect dependencies for github.com/loft-sh/devspace
Analyze the terminal output to locate any version of Github.com/loft sh/devspace in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.14.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/loft sh/devspace, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15391 Affected Github.com/loft sh/devspace Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/loft-sh/devspace
|
Go |
< 4.14.0
|
4.14.0
|
References
Frequently Asked Questions
What is CVE-2020-15391?
Which Github.com/loft sh/devspace versions are affected?
What version fixes CVE-2020-15391?
Is github.com/loft-sh/devspace affected?
What is the CVSS score of CVE-2020-15391?
What CWE is associated with CVE-2020-15391?
How can I check Go dependencies for CVE-2020-15391?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6h8c-gw33-cjm2",
"modified" : "2023-10-19T18:23:22Z",
"published" : "2022-05-24T17:24:14Z",
"aliases" : [ "CVE-2020-15391" ],
"summary" : "DevSpace vulnerable to remote code execution",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/loft-sh/devspace"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.14.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.13.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15391"
}, {
"type" : "WEB",
"url" : "https://github.com/devspace-sh/devspace/issues/1128"
}, {
"type" : "WEB",
"url" : "https://github.com/devspace-cloud/devspace/releases/tag/v4.14.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/devspace-sh/devspace"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-306" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-19T18:23:22Z",
"nvd_published_at" : "2020-07-23T20:15:00Z"
}
}