Arbitrary Command Injection Affecting node-wifi package, versions <2.0.12


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-NODEWIFI-455846
  • published 30 Jul 2019
  • disclosed 10 Jun 2019
  • credit Mickael Thomas

Introduced: 10 Jun 2019

CVE NOT AVAILABLE CWE-94 Open this link in a new tab

How to fix?

Upgrade node-wifi to version 2.0.12 or higher.

Overview

node-wifi is a package that allows mac, windows and linux users to interact with surrounding wifi networks through various methods.

Affected versions of this package are vulnerable to Arbitrary Command Injection. The package fails to sanitize user input, allowing attackers to inject commands through the ssid variable.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low