Patch first › systeminformation (npm)
CVE-2021-21315
systeminformation (npm) systeminformation · Frameworks and libraries
System Information Library for Node.JS Command Injection
At a glance
Exploited. Added to CISA’s catalog of exploited vulnerabilities on January 18, 2022.
Affected product: systeminformation (npm) systeminformation (category Frameworks and libraries, indicative classification). Name in CISA’s catalog: Npm package System Information Library for Node.JS.
What should I do?
Apply the security update from systeminformation (npm).
Deadline set by CISA for US federal agencies: 14 days (due February 1, 2022). It only binds those agencies, but it is a useful measure of urgency.
- The vendor’s specific advisory is listed in the NVD references: CVE-2021-21315 on the NVD website.
Original text of the required action (CISA)
Apply updates per vendor instructions.
Timeline
- Vulnerability published Publication date (NVD)
- Exploitation confirmed Added to CISA’s KEV catalog
- CISA deadline Remediation deadline set for US federal agencies
The facts, with their sources
- Exploitation confirmed
- Yes, on January 18, 2022 Date added to the catalog of exploited vulnerabilities. Exploitation itself may have started earlier. Source: KEV catalog, collected September 29, 2026 at 11:25 UTC
- Ransomware
- No known use to date That does not guarantee it is not being used: the information is not public. Source: KEV catalog, collected September 29, 2026 at 11:25 UTC
- Hunt for compromise
- Not requested by CISA Source: KEV catalog, collected September 29, 2026 at 11:25 UTC
- CISA required action
- Apply the security update from systeminformation (npm). Rewritten by this site from CISA’s original text. Source: KEV catalog, collected September 29, 2026 at 11:25 UTC
- CISA deadline
- February 1, 2022, 14 days Set for US federal agencies: a measure of urgency, not an obligation elsewhere. Source: KEV catalog, collected September 29, 2026 at 11:25 UTC
- Vulnerability published
- February 16, 2021 Source: National Vulnerability Database (NVD), collected September 29, 2026 at 11:29 UTC
- Product according to CISA
- Npm package System Information Library for Node.JS Filed by this site under “Frameworks and libraries” (indicative classification). Source: KEV catalog, collected September 29, 2026 at 11:25 UTC
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Technical detail of the score: attack vector, complexity, impact. Source: National Vulnerability Database (NVD), collected September 29, 2026 at 11:29 UTC
Severity and activity
FIRST’s EPSS model. Since exploitation is already confirmed, this figure is mostly useful to compare activity. Collected Sep 29, 2026.
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.
Official description from the NVD, collected Sep 29, 2026. CVE® description © The MITRE Corporation.
In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.
Summary from CISA (KEV catalog).
CERT-FR advisories
No advisory among the latest CERT-FR publications this site follows. That does not mean there are none.
Information reused under the Open Licence 2.0 (Etalab); the date of last update is shown for each advisory. This site is neither affiliated with nor endorsed by ANSSI.
Sources for this page
- CISA KEV catalog: exploitation, date added, required action, deadline, ransomware.
- NVD (NIST): CVSS severity, publication date, description, vendor references.
- EPSS (FIRST): probability of exploitation.
- CERT-FR: advisories and alerts (in French).
- Brand and category: indicative classification by this site (method).