Skip to content
Fencer Intel
high 7.1

CVE-2021-21315 kev in the critical feed json

Command Injection Vulnerability

published 5y ago modified 4mo ago also GHSA-2m8v-572m-ff2v , EUVD-2021-0527

cvss
7.1
version 3.1, CNA
cisa kev
Exploited
added 2022-01-18
epss
90.7%
EPSS 90.7% chance of exploitation in 30 days, percentile 99.8%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

cisa required action Apply updates per vendor instructions.

  • npm systeminformation 5.3.1
  • systeminformation systeminformation 5.3.1

Is CVE-2021-21315 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. Published
  2. Added to CISA KEV
  3. CISA patch deadline
  4. CISA SSVC: exploitation active

Known exploited

Added
4y ago
Patch by
2022-02-01 (4y ago)
Ransomware
Not known
Required action
Apply updates per vendor instructions.
Vendor, product
Npm package, System Information Library for Node.JS
CISA name
System Information Library for Node.JS Command Injection

CISA SSVC

Exploitation
Active, exploited in the wild
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

90.68% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • Nuclei template Node.JS System Information Library <5.3.1 - Remote Command Injection nuclei detection template

CVSS scores

assigned by version score vector
CNA 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H

Affected packages

ecosystem package affected fixed in
npm systeminformation
<5.3.1
5.3.1

Affected products

  • sebhildebrandt systeminformation

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.