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: 90% (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-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…
- CVE-2025-68154 — High (CVSS 8.1): systeminformation is a System and OS information library for node.js. In versions prior to 5.27.14, the `fsSize()`…
All CVEs affecting Systeminformation →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-56004 — Critical (CVSS 10.0): A shellcode injection in the mercurial handler of the obs tar_scm source service before version 0.12.4 could be used by…
- CVE-2026-56415 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability within the debug.pl script that is…
- CVE-2026-56413 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability in the ms_service.pl service, which listens…
- CVE-2026-49869 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in…
- CVE-2026-49261 — Critical (CVSS 10.0): MariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through…
- CVE-2026-10520 — Critical (CVSS 10.0): An OS Command Injection vulnerability in Ivanti Sentry before the R10.5.2, R10.6.2 and R10.7.1 versions allows a…