UnratednpmAmendedPublished
Command Injection in local-devices
GHSA-w725-67p7-xv22
- Affected
- npm local-devices < 3.0.0
- Fixed in
- 3.0.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.