CVE-2020-26274
JavaScript vulnerability analysis and mitigation

Overview

In systeminformation (npm package) before version 4.31.1 there is a command injection vulnerability. The vulnerability was discovered and disclosed in December 2020, affecting all versions of the package prior to 4.31.1. The vulnerability specifically impacts the systeminformation npm package, which is a system and OS information library for Node.js (GitHub Advisory, NVD).

Technical details

The vulnerability is classified as a command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command). It received a CVSS v3.1 base score of 8.8 HIGH from NIST NVD, with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. GitHub assigned it a CVSS score of 6.4 MEDIUM with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability could allow an attacker to execute arbitrary OS commands through command injection, potentially leading to unauthorized access, data manipulation, or system compromise (GitHub Advisory).

Mitigation and workarounds

The vulnerability was fixed in version 4.31.1 with a shell string sanitation fix. Users are recommended to upgrade to version 4.31.1 or later. If upgrading is not possible, users should check or sanitize service parameter strings that are passed to si.inetLatency() (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management