CVE-2020-7603: OS Command Injection in closure-compiler-stream
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6142%
CWE
Published
5/7/2021
Updated
9/6/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
closure-compiler-stream | npm | <= 0.1.15 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability documentation explicitly states the exports
function in index.js
handles user-controllable 'options' without sanitization. The PoC demonstrates command injection via the 'options.module' array element. As this is the primary interface exposed by the package and there's no evidence of input validation or safe command execution patterns, the module's exported function is the clear injection point.