Known exploited vulnerability

CVE-2021-21315

highCVSS 3.1 7.8In CISA KEVEPSS 91%Published · sebhildebrandt

The short answer

CVE-2021-21315 affects sebhildebrandt systeminformation and is rated high (CVSS 7.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2022-01-18: attackers are using it, so patch it first. Fixed versions are published for systeminformation (5.3.1).

What it is

The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.

Weakness: CWE-78.

Severity

7.8 high

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Yes, since Jan 18, 2022

Federal due date Feb 1, 2022

EPSS, next 30 days

91%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

What CISA says to do

Apply updates per vendor instructions.

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
systeminformationnpm5.3.1GHSA-2m8v-572m-ff2v

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

systeminformation. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2021-21315 being exploited?

Yes. CISA added CVE-2021-21315 to its Known Exploited Vulnerabilities catalog on 2022-01-18, with a federal remediation due date of 2022-02-01.

How do I fix CVE-2021-21315?

Upgrade to a fixed version: systeminformation (npm) 5.3.1. CISA's required action: Apply updates per vendor instructions.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.