CVE-2020-8137: Code injection in blamer
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.88891%
CWE
Published
5/6/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 |
|---|---|---|---|
| blamer | npm | <= 1.0.0 | 1.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability involves code injection leading to RCE when processing user input. In Node.js packages, this typically occurs when user input is passed to command execution functions like child_process.exec without proper sanitization. The blamer package's core functionality involves executing git commands, making Blamer.getBlame the most probable location where user input would be incorporated into system commands. The medium confidence reflects the lack of direct patch access, but aligns with the described vulnerability pattern and npm ecosystem practices.