GHSA-8mgg-5x65-m4m4: Soletta dev app Command Injection Vulnerability
HIGHGHSA-8mgg-5x65-m4m4 is a HIGH command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Soletta dev app libraries in the npm ecosystem. The issue involves command injection in soletta-dev-app. Remediation is available in the latest vendor maintenance releases.
GHSA-8mgg-5x65-m4m4 at a Glance
How to Fix GHSA-8mgg-5x65-m4m4
To remediate this vulnerability, upgrade all affected Soletta dev app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install soletta-dev-app@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls soletta-dev-app
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-8mgg-5x65-m4m4, inspect your project dependencies using npm:
npm ls soletta-dev-app
Analyze the terminal output to locate any version of Soletta dev app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls soletta-dev-app command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Soletta dev app, 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
GHSA-8mgg-5x65-m4m4 Affected Soletta dev app Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
soletta-dev-app
|
npm |
|
|
References
Frequently Asked Questions
What is GHSA-8mgg-5x65-m4m4?
Which Soletta dev app versions are affected?
What version fixes GHSA-8mgg-5x65-m4m4?
Is soletta-dev-app affected?
What CWE is associated with GHSA-8mgg-5x65-m4m4?
How can I check npm dependencies for GHSA-8mgg-5x65-m4m4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8mgg-5x65-m4m4",
"modified" : "2020-08-31T18:41:59Z",
"published" : "2020-09-11T21:08:19Z",
"aliases" : [ ],
"summary" : "Command Injection in soletta-dev-app",
"details" : "All versions of `soletta-dev-app` are vulnerable to Command Injection. The package does not validate user input on the `/api/service/status` API endpoint, passing contents of the `service` query parameter to an exec call. This may allow attackers to run arbitrary commands in the system.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "soletta-dev-app"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/958"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:41:59Z",
"nvd_published_at" : null
}
}