CVE-2021-21315
Command Injection Vulnerability
- High 7.1
- Exploited: added to CISA KEV 18 Jan 2022
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.
Key facts
- Published
- 16 Feb 2021
- Last changed
- 21 Oct 2025
- Assigned by
- GitHub_M
- KEV added
- 18 Jan 2022
- KEV fix due
- 1 Feb 2022
- EPSS
- 90.675% likely to be exploited in the next 30 days, higher than 99.807% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: no; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 7.1CVSS 3.1, Highfrom the CNA (GitHub_M)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
What to do
- Apply updates per vendor instructions.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sebhildebrandt | systeminformation |
|
Timeline
- 16 Feb 2021 Published
- 18 Jan 2022 CVE-2021-21315 added to CISA KEV
- 18 Jan 2022 Added to the CISA KEV catalogue
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).