systeminformation systeminformation CVE-2021-21315 in Systeminformation and Apache Products
Published on February 16, 2021

Command Injection Vulnerability

product logo product logo
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.

Github Repository Github Repository NVD

Known Exploited Vulnerability

This System Information Library for Node.JS Command Injection vulnerability is part of CISA's list of Known Exploited Vulnerabilities. In this vulnerability, an attacker can send a malicious payload that will exploit the name parameter. After successful exploitation, attackers can execute remote.

The following remediation steps are recommended / required by February 1, 2022: Apply updates per vendor instructions.

Vulnerability Analysis

CVE-2021-21315 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity, and no impact on availability.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
NONE
Integrity Impact:
HIGH
Availability Impact:
NONE

Weakness Type

What is a Shell injection Vulnerability?

The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

CVE-2021-21315 has been classified to as a Shell injection vulnerability or weakness.


Products Associated with CVE-2021-21315

stack.watch emails you whenever new vulnerabilities are published in Systeminformation or Apache Cordova. Just hit a watch button to start following.

 
 

Affected Versions

sebhildebrandt systeminformation Version < 5.3.1 is affected by CVE-2021-21315

Vulnerable Packages

The following package name and versions may be associated with CVE-2021-21315

Package Manager Vulnerable Package Versions Fixed In
npm systeminformation < 5.3.1 5.3.1
composer froxlor/froxlor <= 2.3.3 2.3.4

Exploit Probability

EPSS
94.00%
Percentile
99.89%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.