CVE-2022-21129:
nemo-appium vulnerable to OS Command Injection
9.8
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
1/31/2023
Updated
2/7/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 |
---|---|---|---|
nemo-appium | npm | < 0.0.9 | 0.0.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the setup function in index.js handling the 'apath' parameter. The commit diff shows added validation for 'apath' ending with 'appium' and prohibiting spaces, directly addressing command injection. The test case modification demonstrates exploitability via command chaining ('touch HACKED'). The CWE mapping and advisory descriptions confirm this is an OS command injection via improper input sanitization in this function.