CVE-2021-21315
System Information Library for Node.JS Command Injection
Npm package System Information Library for Node.JS
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.
Exploitation status
CISA Known Exploited Vulnerabilities
Listed by CISA on 18 January 2022. US federal agencies were required to remediate it by 1 February 2022.
EPSS — exploitation probability
FIRST puts the probability of exploitation activity in the next 30 days at 90.7%, which is higher than 99.8% of all scored vulnerabilities. EPSS is a forecast of activity, not a measure of severity, and it is rescored daily.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Frequently asked questions
Is CVE-2021-21315 being exploited by ransomware groups?
No ransomware group in this database is currently recorded as exploiting CVE-2021-21315.
What does CVE-2021-21315 affect?
CVE-2021-21315 affects Npm package System Information Library for Node.JS. 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.
How severe is CVE-2021-21315?
CVE-2021-21315 is rated HIGH with a CVSS base score of 7.1. EPSS puts the probability of exploitation in the next 30 days at 90.7%, higher than 99.8% of all scored vulnerabilities. It is listed in the CISA Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 1 February 2022.
How should organisations respond to CVE-2021-21315?
Apply the vendor patch for Npm package System Information Library for Node.JS as the first priority, and treat any internet-facing instance as the most urgent. Because this vulnerability is associated with ransomware activity, also review whether the affected systems were reachable before patching, rather than assuming that patching alone closes the incident.