Description
This affects the package systeminformation before 4.30.2. The attacker can overwrite the properties and functions of an object, which can lead to executing OS commands.
Remediation
References
https://gist.github.com/EffectRenan/b434438938eed0b21b376cedf5c81e80
https://github.com/sebhildebrandt/systeminformation/blob/master/lib/internet.js
https://github.com/sebhildebrandt/systeminformation/commit/11103a447ab9550c25f1fbec7e6d903720b3fea8%23diff-970ae648187190f86bafc8f193b7538200eba164fad0674428b6487582c089cc
https://github.com/sebhildebrandt/systeminformation/commit/73dce8d717ca9c3b7b0d0688254b8213b957f0fa%23diff-970ae648187190f86bafc8f193b7538200eba164fad0674428b6487582c089cc
https://snyk.io/vuln/SNYK-JS-SYSTEMINFORMATION-1043753
Related Vulnerabilities
CVE-2022-31367 Vulnerability in npm package @strapi/strapi
CVE-2021-27516 Vulnerability in npm package urijs
CVE-2022-3783 Vulnerability in npm package node-red-dashboard
CVE-2022-36077 Vulnerability in npm package electron
CVE-2010-4172 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core