CVE-2021-21388 Command Injection Vulnerability in systeminformation

High 8.9 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2021-21388?

CVE-2021-21388 is a high-severity vulnerability in sebhildebrandt systeminformation, published on 29 Apr 2021.

Official description

systeminformation is an open source system and OS information library for node.js. A command injection vulnerability has been discovered in versions of systeminformation prior to 5.6.4. The issue has been fixed with a parameter check on user input. Please upgrade to version >= 5.6.4. If you cannot upgrade, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() and other commands. Only allow strings, reject any arrays. String sanitation works as expected.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2021-21388?

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

PackageAffectedFixed in
systeminformation npmAll versions5.6.4
systeminformation npmAll versions5.6.4

Products include Systeminformation Systeminformation.

How do I fix CVE-2021-21388?

Upgrade systeminformation to 5.6.4 or later.

Is CVE-2021-21388 being exploited?

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

Sources

Also known as GHSA-jff2-qjw8-5476.

Is CVE-2021-21388 in your software?

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

Check your SBOMs for free