# CVE-2021-21315: Command Injection Vulnerability

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: yes. In CISA's catalogue since 2022-01-18. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 90.7%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-02-16T16:51:04.000Z
- Modified: 2026-07-08T06:29:36.391Z
- Also known as: GHSA-2m8v-572m-ff2v
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- sebhildebrandt systeminformation: < 5.3.1
- systeminformation (npm): before 5.3.1
- systeminformation systeminformation: before 5.3.1
- apache cordova: 10.0.0
- Npm package System Information Library for Node.JS: no versions given

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.npmjs.com/package/systeminformation> (product, web)
- <https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v> (third-party-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525> (patch, web)
- <https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E> (issue-tracking, mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20210312-0007/> (third-party-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21315> (advisory, kev)
- <https://github.com/sebhildebrandt/systeminformation> (package)
- <https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05@%3Cissues.cordova.apache.org%3E> (web)
- <https://security.netapp.com/advisory/ntap-20210312-0007> (web)

## Sources

- CVE List: [CVE-2021-21315](https://www.cve.org/CVERecord?id=CVE-2021-21315), CVE Terms of Use, modified 2025-10-21
- GitHub Advisory Database: [GHSA-2m8v-572m-ff2v](https://github.com/advisories/GHSA-2m8v-572m-ff2v), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21315](https://nvd.nist.gov/vuln/detail/CVE-2021-21315), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2021-21315](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-21315), CC0-1.0, modified 2022-01-18

---

Page: https://cve.day/CVE-2021-21315 · Whole record: https://cve.day/CVE-2021-21315.json · Rebuilt by cve.day 2026-11-25T22:57:59.959Z
