7.8

CVE-2021-21315: System Information Library for Node.JS Command Injection

CVSS: 7.8v3.1HighKEVAnalyzed
AliasesDEBIAN-CVE-2021-21315GHSA-2m8v-572m-ff2v
Published 16-02-2021Last modified 21-10-2025

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.

Overall risk
85/100
0100
Critical · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
90.67%
0%100%
Critical · 0.00 pp in 30 days
KEVListedCISA
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 16-02-2021
    PublishedVulnerability first disclosed.
  2. 18-01-2022
    Added to CISA KEVSystem Information Library for Node.JS Command Injection
  3. 01-02-2022
    CISA remediation dueApply updates per vendor instructions.
  4. 21-10-2025
    Last 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

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

18-09-202618-10-2026
EPSS score
90.67%

Known exploited

Compare KEV catalogs
CISA KEVListed
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 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
Debian1 product
  • node-systeminformationAll versions (No fix recorded)
Npm1 product
  • systeminformation< 5.3.1
Sebhildebrandt1 product
Systeminformation1 product

5 vendors · 5 products

References

11 links
Show all 11 references