CVE-2021-21388 Command Injection Vulnerability in systeminformation
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2021-21388?
CVE-2021-21388 is a high-severity vulnerability in sebhildebrandt systeminformation, published on 29 Apr 2021.
Official description
systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.
Which versions are affected by CVE-2021-21388?
2 open source packages ship an affected version, including systeminformation. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
systeminformation npm | All versions | 5.6.4 |
systeminformation npm | All versions | 5.6.4 |
Products include Systeminformation Systeminformation.
How do I fix CVE-2021-21388?
Upgrade systeminformation to 5.6.4 or later.
Is CVE-2021-21388 being exploited?
There is no known exploitation of CVE-2021-21388 in the wild and no public exploit code.
Other vulnerabilities in sebhildebrandt systeminformation
- CVE-2023-42810 systeminformation SSID Command Injection Vulnerability
- 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-jff2-qjw8-5476.