cybersecurity Request an audit

Actively exploited vulnerability / CVE-2021-21315

systeminformation library for Node.js can let attackers run unwanted commands

A flaw in the systeminformation library can let an attacker make your server run commands you never authorized. This can lead to data theft, tampering with your application, or your server being used for further attacks. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).

Identifier
CVE-2021-21315 · EUVD-2021-0527
Severity
High (7.1/10)
On the CISA list (US)
yes, since 18 January 2022
Deadline given to US federal agencies
1 February 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
90.7% (FIRST's estimate for the next 30 days)

Does it concern you?

This is an open source component that developers use in Node.js applications to read hardware and operating system information. You may have it if your company runs web or internal applications built with Node.js, whether by your own team or a supplier.

Versions before 5.3.1 are affected. Ask your developer or application supplier to check the version of the systeminformation package in the project's dependency list.

Affected products and versions

  • Npm package System Information Library for Node.JS
  • systeminformation: before 5.3.1

What to do

Have the systeminformation package updated to version 5.3.1 or later. If that cannot be done right away, follow the vendor's guidance on checking the data passed to this library.

Versions that contain the fix: 5.3.1.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.