CVE-2021-21315: System Information Library for Node.JS Command Injection
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 score | 7.1 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 90.7% (top 1%) |
| CISA exploited list | Yes, fix due 2022-02-01 |
| Weakness | CWE-78 |
| Published | 2021-02-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: ForbiddenProgrammer/CVE-2021-21315-PoC (160 stars)
- GitHub PoC: alikarimi999/CVE-2021-21315 (4 stars)
- GitHub PoC: G01d3nW01f/CVE-2021-21315 (1 stars)
- Nuclei scan template: Node.JS System Information Library <5.3.1 - Remote Command Injection
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
- CVE-2026-50289 HIGH 8.8 UPGRADE systeminformation is a System and OS information library for node.js
- CVE-2025-68154 HIGH 8.1 UPGRADE systeminformation is a System and OS information library for node.js
- CVE-2023-42810 CRITICAL 9.8 UPGRADE systeminformation is a System Information Library for Node.JS
- CVE-2021-21388 HIGH 8.9 UPGRADE systeminformation is an open source system and OS information library for node.js
- CVE-2020-7778 HIGH 7.3 UPGRADE This affects the package systeminformation before 4.30.2