paypal/nemo-appium · Security
nemo-appium vulnerable to OS Command Injection
- GHSA ID
- GHSA-c6rx-gxqv-vr5j
- CVE ID
- CVE-2022-21129
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
Versions of the package nemo-appium before 0.0.9 are vulnerable to Command Injection due to improper input sanitization in the 'module.exports.setup' function.
Note: In order to exploit this vulnerability appium-running 0.1.3 has to be installed as one of nemo-appium dependencies.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-21129 ↗
- https://github.com/paypal/nemo-appium/commit/aa271d36dd5c81baae3c43aa2616c84f0ee4195f ↗
- https://github.com/paypal/nemo-appium/blob/master/index.js%23L27 ↗
- https://security.snyk.io/vuln/SNYK-JS-NEMOAPPIUM-3183747 ↗
- https://github.com/advisories/GHSA-c6rx-gxqv-vr5j ↗