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
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