S4E just found a high top 10 tcp port service scan
high·Product Based Web Vulnerabilities·Updated Dec 16, 2023

CVE-2021-21315 Scanner

Targets service parameters passed to si.inetLatency(), si.inetChecksite(), si.services(), and si.processLoad() functions. Attacker achieves arbitrary command execution.

Est. Time~15 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
0
Times Used
by S4E users
0
Assets Scanned
domains & IPs
0
Vulnerabilities Found
confirmed findings
References
🔴
CISA Known Exploited Vulnerability
This CVE is actively exploited in the wild. CISA mandates federal agencies to patch immediately.
CVECVE-2021-21315
7.1
CVSShigh
Requires local system access · no authentication required.

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 Vector
Local
Privileges Req.
None
User Interaction
None
Affected
systeminformationby sebhildebrandt
< 5.3.1
Updated Aug 19, 2026View on NVD →
Detail

The System Information Library for Node.JS, also known as npm package "systeminformation," is an open source collection of functions that retrieve detailed hardware, system, and operating system information. This library is commonly used by developers and system administrators to gather crucial information about their systems in order to troubleshoot issues and optimize performance. With its user-friendly interface and ease of use, systeminformation has become a popular tool within the Node.JS community.

CVE-2021-21315 is a command injection vulnerability that arises due to improper input validation in the systeminformation library. The vulnerability occurs when user-supplied data is passed to functions that execute system commands without adequate sanitization. Specifically, the library fails to properly filter or escape special characters in service parameters, allowing an attacker to inject arbitrary OS commands.

The vulnerable endpoints include functions such as si.inetLatency(), si.inetChecksite(), si.services(), and si.processLoad(). These functions accept parameters that are directly concatenated into shell commands. For example, the si.inetLatency() function takes a hostname parameter that is passed to the ping command without sanitization, enabling an attacker to inject additional commands using shell metacharacters like semicolons or backticks.

If exploited, this vulnerability allows an attacker to execute arbitrary commands on the server running the Node.JS application. This can lead to full system compromise, including data theft, installation of malware, or lateral movement within the network. Given the CVSS score of 7.8, the impact is severe, especially in production environments where the library is used for system monitoring or management.

Solution Advice
  • Upgrade the systeminformation package to version 5.3.1 or later, which includes proper input validation and sanitization.
  • Implement strict input validation on all service parameters passed to vulnerable functions, allowing only expected string patterns.
  • Use parameterized commands or safe APIs instead of directly concatenating user input into shell commands.
  • Apply the principle of least privilege to the Node.JS process, limiting its ability to execute system commands.
  • Regularly audit and update all npm dependencies to ensure known vulnerabilities are patched.
  • Deploy a web application firewall (WAF) to detect and block malicious payloads targeting command injection.
  • Conduct security code reviews focusing on functions that interact with the operating system.
  • Monitor system logs for unusual command execution patterns that may indicate exploitation attempts.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.