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

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

Affected products (2)

More vulnerabilities in Systeminformation

All CVEs affecting Systeminformation →

Other CWE-78 (OS Command Injection) vulnerabilities

Browse all CWE-78 (OS Command Injection) vulnerabilities →