Arbitrary Code Injection Affecting systeminformation package, versions <5.23.8


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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 Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SYSTEMINFORMATION-8547981
  • published22 Dec 2024
  • disclosed20 Dec 2024
  • creditxAiluros

Introduced: 20 Dec 2024

NewCVE-2024-56334  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade systeminformation to version 5.23.8 or higher.

Overview

systeminformation is a simple system and OS information library.

Affected versions of this package are vulnerable to Arbitrary Code Injection through the getWindowsIEEE8021x() function. An attacker can execute arbitrary commands on the system by injecting malicious commands into an SSID and convincing a user to connect to it. The function then passes this value to the command line without proper sanitization.

Note: This is only exploitable on Windows.

References

CVSS Scores

version 4.0
version 3.1