CVE-2020-7624: Withdrawn Advisory: OS Command Injection in effect
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78238%
CWE
Published
2/10/2022
Updated
6/4/2024
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 |
---|---|---|---|
effect | npm | <= 1.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The code in helper.js shows clear command injection patterns:
- generateCmd() directly interpolates user-controlled options.image and options.to into a shell command string
- executeCommand() uses exec() with this untrusted string
- The PoC demonstrates injection via options.image containing shell operators
- CWE-78 pattern matches unsafe command construction with user input While the advisory was withdrawn due to package/repo mismatch, the code analysis itself reveals classic command injection vulnerabilities through these functions.