GHSA-49vv-6q7q-w5cf: Duplicate Advisory OS Command Injection Vulnerability
HIGHGHSA-49vv-6q7q-w5cf is a HIGH (CVSS 7.2) os command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves os command injection in strapi. Remediation is available by upgrading affected packages to version 3.0.0-beta.17.8.
GHSA-49vv-6q7q-w5cf at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-49vv-6q7q-w5cf
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 strapi@3.0.0-beta.17.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls strapi
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-49vv-6q7q-w5cf, inspect your project dependencies using npm:
npm ls strapi
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0-beta.17.8), your application is affected.
Note: The npm ls strapi 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Duplicate Advisory, 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-49vv-6q7q-w5cf Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
strapi
|
npm |
< 3.0.0-beta.17.8
|
3.0.0-beta.17.8
|
References
Frequently Asked Questions
What is GHSA-49vv-6q7q-w5cf?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-49vv-6q7q-w5cf?
Is strapi affected?
What is the CVSS score of GHSA-49vv-6q7q-w5cf?
What CWE is associated with GHSA-49vv-6q7q-w5cf?
How can I check npm dependencies for GHSA-49vv-6q7q-w5cf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-49vv-6q7q-w5cf",
"modified" : "2025-12-29T15:34:37Z",
"published" : "2021-12-10T17:22:12Z",
"withdrawn" : "2025-12-29T15:34:37Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: OS Command Injection in Strapi",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9p2w-rmx4-9mw7. This link is maintained to preserve external references.\n\n### Original Description\nThe Strapi framework before 3.0.0-beta.17.8 is vulnerable to Remote Code Execution in the Install and Uninstall Plugin components of the Admin panel, because it does not sanitize the plugin name, and attackers can inject arbitrary shell commands to be executed by the execa function.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "strapi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.0-beta.17.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.0-beta.17.7"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-19609"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi/strapi/pull/4636"
}, {
"type" : "WEB",
"url" : "https://bittherapy.net/post/strapi-framework-remote-code-execution"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/strapi/strapi"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/163940/Strapi-3.0.0-beta.17.7-Remote-Code-Execution.html"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/163950/Strapi-CMS-3.0.0-beta.17.4-Remote-Code-Execution.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-07-27T15:24:09Z",
"nvd_published_at" : "2019-12-05T20:15:00Z"
}
}