dylanpiercey/local-devices · Security
Command Injection in local-devices
- GHSA ID
- GHSA-w725-67p7-xv22
- Severity
- high
- Published
- Updated
Description
Versions of local-devices prior to 3.0.0 are vulnerable to Command Injection. The package does not validate input on ip addresses and concatenates it to an exec call, allowing attackers to run arbitrary commands in the system.
Recommendation
Upgrade to version 3.0.0 or later.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')