systeminformation@5.33.11

Advanced, lightweight system and OS information library

  • latest version

    5.33.23

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the systeminformation package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Symlink Attack

    systeminformation 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.

    <5.33.14
    • H
    Prototype Pollution

    systeminformation 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.

    <5.33.13
    • H
    Command Injection

    systeminformation 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.

    <5.33.16