Skip to content

Command Injection in local-devices

High severity GitHub Reviewed Published Sep 3, 2020 to the GitHub Advisory Database • Updated May 1, 2023

Package

npm local-devices (npm)

Affected versions

< 3.0.0

Patched versions

3.0.0

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 3, 2020
Last updated May 1, 2023

Severity

High

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-w725-67p7-xv22

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.