# CVE-2024-56334: Systeminformation command injection in getWindowsIEEE8021x

Source: https://junglewise.ai/threats/cve-2024-56334-systeminformation-command-injection-in-getwindowsieee8021x  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-20. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2024-56334 · Severity: low · CVSS 3.1 · Published 2024-12-20

Systeminformation is a Node.js library that collects system information including network details. When running on Windows, the library reads Wi-Fi network SSIDs and passes them unsanitized to the Windows command line (cmd.exe), allowing an attacker who can control a Wi-Fi SSID to execute arbitrary commands with the privileges of the user running the application.

Technologies: [systeminformation (npm)](https://junglewise.ai/threats/technologies/systeminformation). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2024-56334 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-56334 being exploited in the wild.

**How severe is CVE-2024-56334?** Low severity, with a CVSS score of 3.1, published 20 December 2024.

**Which products and versions are affected?** systeminformation (npm) SEMVER:introduced=0,fixed=5.23.7.

**Is there a fix for CVE-2024-56334?** Yes. systeminformation (npm): upgrade to 5.23.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-56334 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2024-56334?** Check whether you run systeminformation (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- systeminformation (npm): upgrade to 5.23.7 or later

  ```sh
  npm install systeminformation@5.23.7
  ```


## Technical details

The vulnerability is a command injection flaw in the getWindowsIEEE8021x function within network.js. The SSID is retrieved from the output of "netsh wlan show interface" and then passed directly to "cmd.exe /d /s /c netsh wlan show profiles" without input sanitization. An attacker can craft a malicious SSID (e.g., a" | ping /t 127.0.0.1 &) that breaks out of the intended command context and executes arbitrary OS commands. The attack requires local access or the ability to set up a Wi-Fi network that the victim connects to, plus user interaction to trigger the vulnerable function. The vulnerability affects systeminformation versions up to and including 5.23.6; it was patched in version 5.23.7.

## Affected products

- sebhildebrandt systeminformation <=5.23.6

## Identifiers

- CVE-2024-56334
- GHSA-cvv5-9h9w-qp2m

## Timeline

- 2024-12-20: disclosed
- 2024-12-20: patched: Fixed in version 5.23.7

## References

- [https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-cvv5-9h9w-qp2m](https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-cvv5-9h9w-qp2m)

## Related threats

- [systeminformation prototype pollution in networkStats](https://junglewise.ai/threats/cve-2026-116674-systeminformation-is-a-system-and-os-information-library-for)
- [systeminformation has path traversal in Linux networkStats() that allows symlink-based file disclosure outside /sys/class/net](https://junglewise.ai/threats/cve-2026-116673-systeminformation-is-a-system-and-os-information-library-for)
- [systeminformation PowerShell command injection via Unicode quotation marks](https://junglewise.ai/threats/cve-2026-116576-systeminformation-is-a-system-and-os-information-library-for)
- [sebhildebrandt systeminformation OS command injection in networkInterfaces](https://junglewise.ai/threats/cve-2026-50289-sebhildebrandt-systeminformation-os-command-injection-in)
- [sebhildebrandt systeminformation command injection in networkInterfaces](https://junglewise.ai/threats/cve-2026-44724-sebhildebrandt-systeminformation-command-injection-in)
