CVE-2021-21315: System Information Library for Node.JS Command Injection
Vulnerability summary
CVE-2021-21315 is a high (CVSS 7.8) OS Command Injection vulnerability in Npm package System Information Library for Node.JS. It is known to be exploited: CISA lists it, first on 18-01-2022. EPSS estimates a 90.67% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities.
Timeline
- 16-02-2021PublishedVulnerability first disclosed.
- 18-01-2022Added to CISA KEVSystem Information Library for Node.JS Command Injection
- 01-02-2022CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA7.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:NDiffers
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · NpmEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H
EPSS trend
Probability
90.67%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 90.67% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 18-01-2022
- Federal due date
- 01-02-2022
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-21315
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
- cordova10.0.0
Debian1 product
- node-systeminformationAll versions (No fix recorded)
Npm1 product
- systeminformation< 5.3.1
Sebhildebrandt1 product
- systeminformation< 5.3.1
Systeminformation1 product
- systeminformation< 5.3.1
5 vendors · 5 products
References
11 links- github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2vX Refsource CONFIRMWEBThird Party Advisory
- github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525X Refsource MISCWEBPatch
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315Government ResourceWEBUS Government Resource