Packages / systeminformation / Security

ModerateVulnerabilityGHSA-4v2w-h9jm-mqjgCVE-2020-26245Published 27 Nov 2020

Prototype Pollution in systeminformation

Your version

Affected releases · systeminformation

  • 4.x4.0.0 – 4.30.4Fixed in 4.30.5
  • 3.x and older1.0.0 – 3.54.0No fix, no longer updated

On 4.x, the newest line:

npm install systeminformation@4.30.5
Every release on a timeline
5.x
  1. Not affected

    5.0.0 – 5.33.18

    375 releases, latest

4.x
  1. Affected

    4.0.0 – 4.30.4

    165 releases

  2. Fixed

    4.30.5 – 4.34.23

    44 releases

3.x
  1. Affected

    3.0.0 – 3.54.0

    177 releases

2.x
  1. Affected

    2.0.0 – 2.0.5

    6 releases

1.x
  1. Affected

    1.0.0 – 1.0.7

    8 releases

775 stable releases of systeminformation, oldest to newest, one row per major.

What happens

Impact

command injection vulnerability by prototype pollution

Patches

Problem was fixed with a rewrite of shell sanitations to avoid prototyper pollution problems. Please upgrade to version >= 4.30.2

Workarounds

If you cannot upgrade, be sure to check or sanitize service parameter strings that are passed to si.inetChecksite()

For more information

If you have any questions or comments about this advisory: