CVE-2020-7672: Code Injection in mosc
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.75532%
CWE
Published
5/17/2021
Updated
2/1/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:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mosc | npm | <= 1.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The vulnerability description explicitly states user input to 'properties' argument is executed by eval
- The Snyk PoC demonstrates attack code being passed to parse_properties
- CWE-94 (Code Injection) directly maps to unsafe eval usage
- Though file path isn't explicitly documented, the function name and attack pattern are consistent across all sources
- The lack of patching indicates the vulnerable function remains unmodified in <=1.0.0 versions