CVE-2021-21315: Command Injection Vulnerability
In CISA’s Known Exploited Vulnerabilities catalog: System Information Library for Node.JS Command Injection.
Added , federal remediation due . Known ransomware use: Unknown.
Required action: Apply updates per vendor instructions.
Description
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.
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N · CWE-78
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
sebhildebrandt: systeminformation
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2a… (opens in new tab)
- github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-f… (opens in new tab)
- lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05… (opens in new tab)
- security.netapp.com/advisory/ntap-20210312-0007/ (opens in new tab)
- www.npmjs.com/package/systeminformation (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)