CVE-2021-21315
CVE-2021-21315 is a high-severity vulnerability in Systeminformation with a CVSS 3.x base score of 7.1. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-01-18). The underlying weakness is classified as CWE-78.
Key facts
- Severity: High (CVSS 3.x base score 7.1)
- CVSS v2: 4.6
- EPSS exploit prediction: 91% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-01-18)
- EU (EUVD) id: EUVD-2021-0527
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2022-01-18)
- Weakness: CWE-78
- Affected product: Systeminformation
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-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 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.
- How severe is CVE-2021-21315?
- CVE-2021-21315 has a CVSS 3.x base score of 7.1, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2021-21315 being actively exploited?
- Yes. CVE-2021-21315 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-01-18, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2021-21315?
- CVE-2021-21315 primarily affects Systeminformation. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-21315?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2021-21315 have an EU (EUVD) identifier?
- Yes. CVE-2021-21315 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2021-0527. It is also flagged as exploited in the EUVD (since 2022-01-18).
- When was CVE-2021-21315 published?
- CVE-2021-21315 was published on 2021-02-16 and last updated on 2026-06-17.
References
- https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525
- https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v
- https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210312-0007/
- https://www.npmjs.com/package/systeminformation
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315
Affected products (2)
- cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:apache:cordova:10.0.0:*:*:*:*:-:*:*
More vulnerabilities in Systeminformation
- CVE-2023-42810 — Critical (CVSS 9.8): systeminformation is a System Information Library for Node.JS. Versions 5.0.0 through 5.21.6 have a SSID Command…
- CVE-2021-21388 — High (CVSS 8.9): systeminformation is an open source system and OS information library for node.js. A command injection vulnerability…
- CVE-2026-50289 — High (CVSS 8.8): systeminformation is a System and OS information library for node.js. Prior to 5.31.7, networkInterfaces() on Linux is…
- CVE-2026-26318 — High (CVSS 8.8): systeminformation is a System and OS information library for node.js. Versions prior to 5.31.0 are vulnerable to…
- CVE-2020-7752 — High (CVSS 8.8): This affects the package systeminformation before 4.27.11. This package is vulnerable to Command Injection. The…
- CVE-2026-26280 — High (CVSS 8.4): systeminformation is a System and OS information library for node.js. In versions prior to 5.30.8, a command injection…
All CVEs affecting Systeminformation →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-19188 — Critical (CVSS 10.0): A critical OS command injection vulnerability has been identified in the Haiwell IoT Cloud HMI Gateway product. The…
- CVE-2026-48362 — Critical (CVSS 10.0): ColdFusion is affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')…
- CVE-2026-16812 — Critical (CVSS 10.0): VeloCloud Orchestrator (VCO) on-prem has a security issue where this issue may allow a remote attacker to access…
- CVE-2026-6516 — Critical (CVSS 10.0): Zohocorp ManageEngine ADAudit Plus versions before 8606 are affected by Unauthenticated Remote code execution due to…
- CVE-2026-46339 — Critical (CVSS 10.0): 9Router is an AI router & token saver. From 0.4.30 until 0.4.37, 9Router's src/proxy.js middleware did not protect…
- CVE-2026-59726 — Critical (CVSS 10.0): Ruflo is an agent meta-harness for Claude Code and Codex. Prior to 3.16.3, ruflo's default docker-compose deployment…