Advisory

GHSA-4x6x-782q-jfc4

Also known as: None

Summary

Command Injection in node-wifi

Details

Versions of node-wifi prior to 2.0.12 are vulnerable to Command Injection. The package fails to sanitize user input, allowing attackers to inject commands through the ssid variable and possibly achieving Remote Code Execution on the system.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-03 02:38 UTC
Modified
2020-08-31 18:41 UTC

Affected packages and fixes

node-wifi

npm · All systems

Affected

  • introduced 0, fixed 2.0.12 (semver)

Fixed versions

2.0.12

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