Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-21315: System Information Library for Node.JS Command Injection

85
Patch now
HIGH 7.1EXPLOITEDWATCHLISTUPGRADEDOWNGRADE

CVE-2021-21315 is a high-severity flaw (CVSS 7.1) affecting systeminformation, cordova, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.servi

Why this priority

  • High severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.1 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance90.7% (top 1%)
CISA exploited listYes, fix due 2022-02-01
WeaknessCWE-78
Published2021-02-16
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: apache · systeminformation

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

systeminformation systeminformation UPGRADE
Affected: < 5.3.1
Fixed in: 5.3.1
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls systeminformation
2. UPGRADE to 5.3.1
npm install systeminformation@">=5.3.1"
apache cordova DOWNGRADE
Affected: 10.0.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.0.0
1. Check installed version
apt-cache policy cordova || rpm -q cordova || cordova --version
2. No fixed release: DOWNGRADE to a release before 10.0.0 (Debian / Ubuntu)
apt-cache madison cordova sudo apt install cordova=<VERSION_BEFORE_10.0.0> sudo apt-mark hold cordova
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list cordova sudo dnf downgrade cordova-<VERSION_BEFORE_10.0.0> sudo dnf versionlock add cordova
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
npm · systeminformation · FIXED · 5.3.1 · vulnerable: < 5.3.1 · source
npm install systeminformation@">=5.3.1" npm ls systeminformation
Fedora 46 · python-dtoc · FIXED · 0.1.0-1.fc46 · FEDORA-2026-e4734649a1 · source
sudo dnf upgrade --advisory=FEDORA-2026-e4734649a1
Fedora ELN · parallel · FIXED · 20261022-1.eln159 · FEDORA-2026-6d961c0286 · source
sudo dnf upgrade --advisory=FEDORA-2026-6d961c0286

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-21315?

systeminformation: upgrade to 5.3.1; cordova: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2021-21315 being exploited?

Yes. CVE-2021-21315 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-21315 affect?

CVE-2021-21315 affects systeminformation, cordova. Severity is high (CVSS 7.1). 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 in

How urgent is CVE-2021-21315?

Priority 85/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; On your watchlist

Software pages

Node.js vulnerabilities · npm packages vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.