GHSA-jcgr-9698-82jx:
Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
5/28/2021
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
@floffah/build | npm | < 1.0.0 | 1.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper command construction when passing options to esbuild. While exact code changes aren't visible, the advisory explicitly states the root cause was insecure config.php
passing replaced by proper array-based argument handling in v1.0.0. The most likely vulnerable points are: 1) Direct esbuild execution functions using string-based command assembly 2) CLI entry points processing user inputs. These would appear in runtime traces during command injection attempts as they handle user-provided build parameters before vulnerable command assembly occurs.