Symlink Attacksysteminformation is a simple system and OS information library.
Affected versions of this package are vulnerable to Symlink Attack via the networkStatsSingle function in lib/network.js when a network interface name containing path traversal sequences (e.g. ../) is passed to networkStats() on Linux. The function constructs a filesystem path by concatenating the unsanitized interface name directly onto /sys/class/net/, allowing an attacker who controls the interface name argument to read arbitrary files accessible to the process by escaping the intended directory.
How to fix Symlink Attack? Upgrade systeminformation to version 5.33.14 or higher.
| |
Prototype Pollutionsysteminformation is a simple system and OS information library.
Affected versions of this package are vulnerable to Prototype Pollution via the networkStats interface cache key in lib/network.js. The _network object is initialized with {}, which inherits from Object.prototype. When an attacker supplies __proto__ as the network interface name, properties written to the cache key propagate to Object.prototype, polluting all plain objects in the process. This allows an attacker to set arbitrary properties on Object.prototype such as operstate and rx_bytes, enabling integrity impact and potential application crashes.
Note: Full end-to-end exploitation through the public networkStats API is only reachable on FreeBSD, OpenBSD, and NetBSD. On Linux, macOS, and Windows the call returns an empty result set and leaves Object.prototype untouched.
How to fix Prototype Pollution? Upgrade systeminformation to version 5.33.13 or higher.
| |
Command Injectionsysteminformation is a simple system and OS information library.
Affected versions of this package are vulnerable to Command Injection via the services() function on Windows, due to insufficient sanitization of shell strings in sanitizeShellString within lib/util.js. An attacker who controls the service name argument passed to services() can inject arbitrary PowerShell commands that are executed on the host system.
How to fix Command Injection? Upgrade systeminformation to version 5.33.16 or higher.
| |