Skip to content

CVE-2021-21315

System Information Library for Node.JS Command Injection

7.1 HIGHActively exploited (CISA KEV)EPSS 90.7%
  1. Published16 Feb 2021
  2. Added to CISA KEV18 Jan 2022
  3. Remediation due1 Feb 2022
Actively exploited (CISA KEV)

In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.

Added to KEV: 18 Jan 2022Federal remediation due: 1 Feb 2022

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 3.1 breakdown

Attack vectorLocal
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeChanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Affected products

Apache Cordova10.0.0
Systeminformation< 5.3.1

Remediation

Fixed in
Systeminformation≥ 5.3.1

Frequently asked

Is CVE-2021-21315 being actively exploited?

Yes. CVE-2021-21315 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 18 Jan 2022.

How severe is CVE-2021-21315?

CVE-2021-21315 has a CVSS 3.1 base score of 7.1, rated high. EPSS estimates a 90.7% probability of exploitation.

Which products are affected by CVE-2021-21315?

Affected products include Apache Cordova, Systeminformation.

How do I fix CVE-2021-21315?

Upgrade affected software to a fixed version, for example Systeminformation 5.3.1 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2021-21315 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, Secuno flags any affected asset as top-priority automatically. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.