Arbitrary Command Injection Affecting systeminformation package, versions >=5.0.0 <5.21.7


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (44th percentile)

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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SYSTEMINFORMATION-5914637
  • published22 Sept 2023
  • disclosed21 Sept 2023
  • creditUnknown

Introduced: 21 Sep 2023

CVE-2023-42810  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade systeminformation to version 5.21.7 or higher.

Overview

systeminformation is a simple system and OS information library.

Affected versions of this package are vulnerable to Arbitrary Command Injection via the wifiConnections() and wifiNetworks() functions. An attacker can inject malicious commands by crafting detected SSIDs.

Workaround

This vulnerability can be mitigated by ensuring to check or sanitize parameter strings that are passed to wifiConnections(), wifiNetworks() functions.

CVSS Scores

version 3.1