CVE-2022-25962: Command injection in vagrant.js
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.7103%
CWE
Published
1/26/2023
Updated
2/3/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 |
|---|---|---|---|
| vagrant.js | npm | <= 0.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- All vulnerability sources explicitly name boxAdd as the vulnerable entry point
- The Snyk PoC demonstrates command injection via boxAdd parameters
- CWE-77 classification confirms command injection pattern
- The function's purpose (managing Vagrant boxes) inherently requires executing system commands
- Lack of input sanitization mentioned in all descriptions matches command injection vulnerability patterns