CVE-2020-26245 Prototype Pollution leading to Command Injection in systeminformation

High 8.1 Published Updated

Attackers can execute arbitrary commands via prototype pollution in the systeminformation npm package when processing service parameters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-26245?

CVE-2020-26245 is a high-severity command injection vulnerability in sebhildebrandt systeminformation, published on 27 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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().

Weakness: CWE-78, CWE-471

Which versions are affected by CVE-2020-26245?

2 open source packages ship an affected version, including systeminformation. It affects 1 product.

PackageAffectedFixed in
systeminformation npmAll versions4.30.5
systeminformation npmAll versions4.30.5

Products include Systeminformation Systeminformation.

How do I fix CVE-2020-26245?

Upgrade systeminformation to 4.30.5 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-26245 being exploited?

There is no known exploitation of CVE-2020-26245 in the wild and no public exploit code.

Sources

Also known as GHSA-4v2w-h9jm-mqjg.

Is CVE-2020-26245 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free