# CVE-2021-21315: Command Injection Vulnerability

> CVE-2021-21315: Command Injection Vulnerability. CVSS 7.1 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2021-21315
Last updated: 2025-10-21T23:35:26Z

- Published: 2021-02-16 17:00 UTC · Updated: 2025-10-21 23:35 UTC · Assigner: GitHub\_M
- CVSS: 7.1 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- EPSS: 90.7%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2022-01-18, federal due date 2022-02-01, ransomware use: Unknown
- CWE: CWE-78

## 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.

## CISA required action

Apply updates per vendor instructions.

## Affected vendors and products

- sebhildebrandt: systeminformation

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2021-21315)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2021-21315)
- [https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525](https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525)
- [https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v](https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v)
- [https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E](https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%2540%3Cissues.cordova.apache.org%3E)
- [https://security.netapp.com/advisory/ntap-20210312-0007/](https://security.netapp.com/advisory/ntap-20210312-0007/)
- [https://www.npmjs.com/package/systeminformation](https://www.npmjs.com/package/systeminformation)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2021-21315 · Markdown: https://rewindex.com/cve/CVE-2021-21315.md · JSON: https://rewindex.com/api/v1/cves/CVE-2021-21315 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:40.902Z
