Advisory

GHSA-w725-67p7-xv22

Also known as: None

Summary

Command Injection in local-devices

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 17:05 UTC
Modified
2021-09-28 17:35 UTC

Affected packages and fixes

local-devices

npm · All systems

Affected

  • introduced 0, fixed 3.0.0 (semver)

Fixed versions

3.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences