systeminformation@5.27.12 vulnerabilities

Advanced, lightweight system and OS information library

  • latest version

    5.28.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    1 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
    • C
    Command Injection

    systeminformation is a simple system and OS information library.

    Affected versions of this package are vulnerable to Command Injection via the fsSize function when the drive parameter is concatenated into a PowerShell command without proper sanitization. An attacker can execute arbitrary commands on the underlying Windows system by supplying crafted input to the drive parameter.

    ##Workaround

    This vulnerability could be mitigated by applying util.sanitizeShellString() to the drive parameter, consistent with other functions in the codebase.

    How to fix Command Injection?

    Upgrade systeminformation to version 5.27.14 or higher.

    <5.27.14