CVE-2021-21315: System Information Library for Node.JS Command Injection
Npm package System Information Library for Node.JS · listed in the CISA catalog of actively exploited vulnerabilities since 2022-01-18.
- CVSS v3.1 (CVE record)
- 7.1
- high
- EPSS (exploit probability, 30 days)
- 91%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2022-01-18
- US federal due date 2022-02-01
- Automatable (CISA SSVC)
- no
- technical impact: partial
What is CVE-2021-21315?
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.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- sebhildebrandt systeminformationAffectedFixed in
- < 5.3.1
not stated
| Product | Affected | Fixed in |
|---|---|---|
| sebhildebrandt systeminformation |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: github.com/sebhildebrandt/systeminformation/security/advi…
- CISA's deadline for US federal agencies: 2022-02-01 (passed) – a useful benchmark for everyone else, too.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Partial – limited control or information
Weakness: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.