CVE-2020-36380:
Vulnerability in crunch function leads to arbitrary code execution via filePath parameters
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78008%
CWE
Published
11/1/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:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
aaptjs | npm | <= 1.3.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The vulnerability description explicitly mentions the crunch function as the entry point
- The GitHub issue (#2) shows exec() being used with raw command construction in index.js
- CWEs 77/78 indicate command injection via user-controlled input (filePath)
- The attack pattern matches unsafe exec usage with unescaped user-supplied parameters in command strings