CVE-2022-25973: mc-kill-port vulnerable to Arbitrary Command Execution via kill function
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.33755%
CWE
Published
8/11/2022
Updated
1/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| mc-kill-port | npm | <= 1.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- Multiple sources explicitly name the 'kill' function as the vulnerable entry point
- The CWE-88 classification indicates argument injection in command execution
- The PoC demonstrates command injection through the port parameter
- Package functionality inherently requires executing system commands to kill ports
- Lack of sanitization in the port argument creates a direct path for command injection
- Standard npm package structure suggests main functionality would be in index.js