CVE-2021-21315: System Information Library for Node.JS Command Injection
High severity, CVSS 7.8. Actively exploited: in CISA KEV since 2022-01-18. EPSS: 90.7% chance of exploitation in the next 30 days.
The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.
Affected products
- Apache Cordova: version 10.0.0 only
- Systeminformation Systeminformation: before 5.3.1 (fixed in 5.3.1)
Published 2021-02-16. Last modified 2026-06-17.