CVE-2021-21315

System Information Library for Node.JS Command Injection

Actively exploited · CISA KEV
7.1 HighCVSS v3.1
90.7%EPSS (30-day exploit probability)
2022-01-18added to KEV
2022-02-01CISA federal due date

Summary

Npm package System Information Library for Node.JS. In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.

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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Weakness
CWE-78
Published
2021-02-16 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of Npm package System Information Library for Node.JS in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2021-21315 being exploited?

Yes. CISA added CVE-2021-21315 to its Known Exploited Vulnerabilities catalog on 2022-01-18, which means there is reliable evidence of active exploitation.

How do I fix CVE-2021-21315?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2021-21315?

The EPSS score is 90.68%, meaning an estimated 90.68% probability of exploitation activity in the next 30 days (percentile 100).

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.