systeminformation@5.33.13

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