Description
npm package systeminformation before version 4.30.5 is vulnerable to Prototype Pollution leading to Command Injection. The issue was fixed with a rewrite of shell sanitations to avoid prototyper pollution problems. The issue is fixed in version 4.30.5. If you cannot upgrade, be sure to check or sanitize service parameter strings that are passed to si.inetChecksite().
Remediation
References
https://github.com/sebhildebrandt/systeminformation/commit/8113ff0e87b2f422a5756c48f1057575e73af016
https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-4v2w-h9jm-mqjg
Related Vulnerabilities
CVE-2011-1772 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2022-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-parent
CVE-2021-20218 Vulnerability in maven package io.fabric8:kubernetes-client
CVE-2021-44832 Vulnerability in maven package org.apache.logging.log4j:log4j-core
CVE-2021-4279 Vulnerability in maven package org.webjars.npm:fast-json-patch