# CVE-2021-21315: System Information Library for Node.JS Command Injection

- Priority: **Act now**
- Reason: Listed as exploited by CISA (18-01-2022)
- Next step: Check the vendor advisory
- Status: published
- Published: 2021-02-16 · Modified: 2025-10-21
- Aliases: DEBIAN-CVE-2021-21315, GHSA-2m8v-572m-ff2v
- Record: https://cvemate.com/vulnerability/CVE-2021-21315 · JSON: https://cvemate.com/vulnerability/CVE-2021-21315/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 90.675%, percentile 99.802%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2022-01-18, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache cordova: 10.0.0
- debian node-systeminformation (Debian): All versions (No fix recorded)
- Npm systeminformation (Npm): \< 5.3.1
- sebhildebrandt systeminformation: \< 5.3.1
- systeminformation systeminformation: \< 5.3.1

## References

- <https://www.npmjs.com/package/systeminformation>
- <https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v>
- <https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525>
- <https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E>
- <https://security.netapp.com/advisory/ntap-20210312-0007/>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315>
- <https://security-tracker.debian.org/tracker/CVE-2021-21315>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21315>
- <https://github.com/sebhildebrandt/systeminformation>
- <https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05@%3Cissues.cordova.apache.org%3E>
- <https://security.netapp.com/advisory/ntap-20210312-0007>

---

Data as of 2026-12-05T06:45:14.457Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
