Vulnerabilities

Vulnerability · CVE-2021-21315

System Information Library for Node.JS Command Injection

Published Feb 16, 2021 · catalog updated Jun 16, 2026 · Npm package System Information Library for Node.JS

Patch now

CVE-2021-21315 is in the CISA known-exploited catalog, due Feb 1, 2022. Confirm Npm package System Information Library for Node.JS against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
High7.8
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
90.67%
Remediation
Remediation guidance
Affected products
cpe apache/cordova · cpe systeminformation/systeminformation · vendor Npm package System Information Library for Node.JS

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apache/cordova10.0.0
  • cpe systeminformation/systeminformationversion unspecified
  • vendor Npm package System Information Library for Node.JSversion unspecified

How to fix CVE-2021-21315

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2021-21315 is in the CISA known-exploited catalog, due Feb 1, 2022. Confirm Npm package System Information Library for Node.JS against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with 10.0.0. Apply updates per vendor instructions.

What should an analyst verify?

CWE-78: OS Command Injection. EPSS 90.67%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 16, 2021 · Catalog

    Detected

    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

  2. Jan 18, 2022 · CISA KEV

    Known exploited

    Apply updates per vendor instructions.

  3. Feb 1, 2022 · CISA KEV

    Remediation due

    Apply updates per vendor instructions.

  4. Jun 16, 2026 · Catalog

    Updated

    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

Sources

  • CISA KEVConfirmed exploitationCVE-2021-21315

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

    cisa.gov
  • CVE.orgVulnerability recordCVE-2021-21315

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2021-21315

    30-day exploitation probability 90.7%

    first.org
  • NIST NVDVulnerability recordCVE-2021-21315

    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

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2021-21315

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

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.