CVE-2021-21315

HIGH CVSS 3.1: 7.8 EPSS 90.7% ACTIVE EXPLOIT
Updated Jun 17, 2026
Apache

CISA Known Exploited Vulnerability (KEV)

This vulnerability is actively exploited in the wild. Immediate patching is strongly recommended.

Due Date: Feb 01, 2022

Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 5.3.1
Fixed In 5.3.1
Type CWE-78 (OS Command Injection)
Vendor Apache
Public PoC Yes

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Systeminformation Systeminformation
cpe:2.3:a:systeminformation:systeminformation:*:*:*:*:*:node.js:*:*
— 5.3.1
Apache Cordova
cpe:2.3:a:apache:cordova:10.0.0:*:*:*:*:-:*:*
— —