Skip to content
OpenAdvisories
High GHSA-w725-67p7-xv22

Command Injection in local-devices

Published Sep 3, 2020 · Updated Sep 28, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm local-devices < 3.0.0 3.0.0 GHSA-w725-67p7-xv22

References