CVE-2021-21315

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.

Severity
HIGH
CVSS v3
7.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N · source cna
Exploit chance (EPSS)
90.675%
chance of exploitation in the next 30 days
higher than 99.8% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-01-18
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameSystem Information Library for Node.JS Command Injection
Vendor / productNpm package / System Information Library for Node.JS
Date added2022-01-18
Federal remediation due date2022-02-01
Required actionApply updates per vendor instructions.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impactpartial
Scored2025-02-06

Timeline

  1. 2021-02-16Published by the CNA17:00 UTC
  2. 2021-02-16GitHub advisory published (GHSA-2m8v-572m-ff2v)same day
  3. 2022-01-18Added to the CISA KEV catalog336 days after publication
  4. 2025-02-06CISA SSVC decision recorded1451 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-2m8v-572m-ff2v, affected packages:

PackageVulnerable versionsFixed in
npm systeminformationbefore 5.3.15.3.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
systeminformation systeminformationbefore 5.3.1fixed in 5.3.15.3.1
apache cordova10.0.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources