Improper Input Validation Affecting systeminformation package, versions <5.6.11


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SYSTEMINFORMATION-1244526
  • published9 Apr 2021
  • disclosed9 Apr 2021
  • creditRenan Rocha (EffectRenan)

Introduced: 9 Apr 2021

CVE NOT AVAILABLE CWE-20  (opens in a new tab)

How to fix?

Upgrade systeminformation to version 5.6.11 or higher.

Overview

systeminformation is a simple system and OS information library.

Affected versions of this package are vulnerable to Improper Input Validation. The function versions doesn't check the input of the user, which is expected a string.

const si = require('systeminformation');
si.versions({toString : () => { console.log("This is a PoC") }});

CVSS Scores

version 3.1