CVE-2023-42810 systeminformation SSID Command Injection Vulnerability
Attackers can execute arbitrary commands via unsanitized SSID inputs in the systeminformation Node.js library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-42810?
CVE-2023-42810 is a critical command injection vulnerability in sebhildebrandt systeminformation, published on 21 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
systeminformation is a System Information Library for Node.JS. Versions 5.0.0 through 5.21.6 have a SSID Command Injection Vulnerability. The problem was fixed with a parameter check in version 5.21.7. As a workaround, check or sanitize parameter strings that are passed to `wifiConnections()`, `wifiNetworks()` (string only).
Weakness: CWE-77
Which versions are affected by CVE-2023-42810?
2 open source packages ship an affected version, including systeminformation. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
systeminformation npm | From 5.0.0 | 5.21.7 |
systeminformation npm | From 5.0.0 | 5.21.7 |
Products include Systeminformation Systeminformation.
How do I fix CVE-2023-42810?
Upgrade systeminformation to 5.21.7 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-42810 being exploited?
There is no known exploitation of CVE-2023-42810 in the wild and no public exploit code.
Other vulnerabilities in sebhildebrandt systeminformation
- CVE-2021-21388 Command Injection Vulnerability in systeminformation
- CVE-2026-26318 systeminformation has Command Injection via Unsanitized `locate` Output in `versions()`
- CVE-2020-7752 Command Injection
- CVE-2026-50289 systeminformation: OS command injection in networkInterfaces() via interfaces(5) source-directive path on Linux
- CVE-2026-26280 Systeminformation has a Command Injection via unsanitized interface parameter in wifi.js retry path
Sources
Also known as GHSA-gx6r-qc2v-3p3v.