CVE-2021-21315Command Injection Vulnerability
Updated under an hour ago ()
Does this affect you?
It affects sebhildebrandt systeminformation and 2 other products. Add what you run to find out whether that includes you.
CISA lists it as known exploited since Jan 18, 2022; federal agencies had to remediate by Feb 1, 2022. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- Weakness (CWE)
- CWE-78
- Known exploited
- Added to CISA KEV Jan 18, 2022; federal remediation due Feb 1, 2022Apply updates per vendor instructions.
- EPSS (exploitation in the next 30 days)
- 90.67% (percentile 100)
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
sebhildebrandt systeminformation sebhildebrandt:systeminformation (from the name) | before 5.3.1 | CNA record |
systeminformation systeminformation systeminformation:systeminformation | before 5.3.1 | NVD |
apache cordova apache:cordova | 10.0.0 | NVD |
References
- https://www.npmjs.com/package/systeminformationx-refsource-misc, product
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2vx-refsource-confirm, third-party-advisory
- https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525x-refsource-misc, patch
- https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3Emailing-list, x-refsource-mlist, issue-tracking
- https://security.netapp.com/advisory/ntap-20210312-0007/x-refsource-confirm, third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.