System Information Library for Node.JS Command Injection
Exploited in the wild. CISA added it to its Known Exploited Vulnerabilities list on 18 Jan 2022.
CVE-2021-21315High7.1
Chance of exploitation in the next 30 days
91%
EPSS score from FIRST
Black Shard's team can check your exposure to CVE-2021-21315 and take the fix off your plate.
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.
Updated 19 Nov 2026, 14:16 UTC, 32 of 36 sources answering.
Black Shard's team can check your exposure, take a fix off your plate or step in on a live incident.