GHSA-w725-67p7-xv22
HIGHCommand Injection in local-devices
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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | local-devices | < 3.0.0 | 3.0.0 |
References
- https://github.com/DylanPiercey/local-devices/pull/16 · WEB
- https://github.com/DylanPiercey/local-devices/commit/57b9a933c9d23d34bd5a055536db824de66db553 · WEB
- https://github.com/DylanPiercey/local-devices · PACKAGE
- https://www.npmjs.com/advisories/1020 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)