Vulnerabilities in pkg:npm/@floffah/build
PACKAGEGHSA-jcgr-9698-82jx is a LOW improper neutralization of special elements vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting @floffah/build libraries in the npm ecosystem. The issue involves improper neutralization of special elements used in a command ('command injection') in @floffah/build. Remediation is available by upgrading affected packages to version 1.0.0.
pkg:npm/@floffah/build
Vulnerability advisories affecting package pkg:npm/@floffah/build. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jcgr-9698-82jx | - | LOW | Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build |
GHSA-jcgr-9698-82jx at a Glance
How to Fix GHSA-jcgr-9698-82jx
To remediate this vulnerability, upgrade all affected @floffah/build 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 @floffah/build@1.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @floffah/build
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-jcgr-9698-82jx, inspect your project dependencies using npm:
npm ls @floffah/build
Analyze the terminal output to locate any version of @floffah/build in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.
Note: The npm ls @floffah/build 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 @floffah/build, 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-jcgr-9698-82jx Affected @floffah/build Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@floffah/build
|
npm |
< 1.0.0
|
1.0.0
|
References
Frequently Asked Questions
What is GHSA-jcgr-9698-82jx?
Which @floffah/build versions are affected?
What version fixes GHSA-jcgr-9698-82jx?
Is @floffah/build affected?
What CWE is associated with GHSA-jcgr-9698-82jx?
How can I check npm dependencies for GHSA-jcgr-9698-82jx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jcgr-9698-82jx",
"modified" : "2021-05-27T21:05:29Z",
"published" : "2021-05-28T15:53:40Z",
"aliases" : [ ],
"summary" : "Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build",
"details" : "### Impact\nIf you are using the esbuild target or command you are at risk of code/option injection. Attackers can use the command line option to maliciously change your settings in order to damage your project.\n\n### Patches\nThe problem has been patched in v1.0.0 as it uses a proper method to pass configs to esbuild/estrella.\n\n### Workarounds\nThere is no work around. You should update asap.\n\n### Notes\nThis notice is mainly just to make sure people update to the latest version. This isn't that bad, but should encourage you to update.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@floffah/build"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Floffah/build/security/advisories/GHSA-jcgr-9698-82jx"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-27T21:05:29Z",
"nvd_published_at" : null
}
}