# CVE-2021-21388: Command Injection Vulnerability in systeminformation

- Severity: High 8.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.85%, higher than 79% of CVEs (2026-12-01)
- Published: 2021-04-06T17:30:14.000Z
- Modified: 2026-07-08T06:28:36.042Z
- Also known as: GHSA-jff2-qjw8-5476
- Weaknesses: CWE-20, CWE-77, CWE-78
- Assigned by: GitHub_M

## Description

systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.

(As written by CVE List.)

## Affected

- sebhildebrandt systeminformation: < 5.6.4
- systeminformation (npm): before 5.6.4
- systeminformation systeminformation: before 5.6.4

## Every score

- GitHub_M: CVSS:3.1 8.9 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H`
- GitHub: CVSS:3.1 8.9 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.npmjs.com/package/systeminformation> (product, third-party-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-jff2-qjw8-5476> (third-party-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/commit/01ef56cd5824ed6da1c11b37013a027fdef67524> (patch, third-party-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/commit/0be6fcd575c05687d1076d5cd6d75af2ebae5a46> (patch, third-party-advisory, web)
- <https://github.com/sebhildebrandt/systeminformation/commit/7922366d707de7f20995fc8e30ac3153636bf35f> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21388> (advisory)

## Sources

- CVE List: [CVE-2021-21388](https://www.cve.org/CVERecord?id=CVE-2021-21388), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-jff2-qjw8-5476](https://github.com/advisories/GHSA-jff2-qjw8-5476), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21388](https://nvd.nist.gov/vuln/detail/CVE-2021-21388), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21388 · Whole record: https://cve.day/CVE-2021-21388.json · Rebuilt by cve.day 2026-11-25T22:58:01.112Z
