Skip to main content

CVE-2021-21315

Npm package — System Information Library for Node.JS Command Injection

Npm package · CWE-78 — Operating system command injection · in CISA KEV since 2022-01-18

KEV since 2022 · listed over a yearCISA KEVActively Exploited
82

EVRS 82 of 100 Urgent

Patch This Cycle

Rank 539 of 2,960 tracked

Download PDF

Why it scores 82

Evidence available: 6 of 7 signals

Listed in the CISA KEV catalog, and an EPSS probability of 0.907.

  • CISA KEVApplied
  • RansomwareDid not apply
  • Vendor exploitationDid not apply
  • EPSSApplied
  • Microsoft Exploitability IndexNot applicable
  • Pre-patch disclosureNo data
  • KEV recencyDid not apply
  • CVSSApplied

The band answers “how soon”, not “how bad”. No data for: Pre-patch disclosure. Why some signals show no data

Fix

Patch or fixed version identified

CISA required action

Fixed in

  • systeminformation5.3.1

Affected versions

  • systeminformation (npm)affected < 5.3.1, fixed in 5.3.1

Remediation

Apply updates per vendor instructions.

Fixed versions from NVD and GitHub. Affected packages also in GitHub Advisory GHSA-2m8v-572m-ff2v (CC BY 4.0).

Evidence

Each value with its source
MeasureValueSource
CVSS base scoreHow severe the flaw is in itself. It does not say how likely an attack is. 7.8 NVD
FIRST EPSSFIRST's estimate of the chance this is exploited in the next 30 days, and how that ranks against all CVEs. 0.907 (99.81st pctl) FIRST EPSS
Actively exploitedWhether a source of record has confirmed attacks using it in the wild. Confirmed CISA KEV
Ransomware campaign useWhether CISA has seen ransomware operators use it. Unknown or none CISA KEV
CISA remediation deadlineThe date US federal agencies must have fixed or mitigated it. 2022-02-01 · KEV since 2022 · listed over a year CISA KEV
Public exploit moduleA module existing is not the same as active exploitation. None known Metasploit
EUVD cross-referenceENISA's record: CVSS 7.1 (v3.1), assigned by GitHub_M. Listed ENISA EUVD

Description

NVD

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.

What CISA says to do