CVE-2021-21315KEV · OVERDUECWE-78

Command Injection Vulnerability

High · published February 16, 2021

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 7.1. It is confirmed in active exploitation. It sits in the 99.8th percentile for exploit probability.

1727
days past CISA
deadline
CVSS v3.1
7.1
EPSS
91%
Percentile
99.8
In the wild
Confirmed
What it is

⚡ A crafty command injection flaw in the System Information Library for Node.js can let an attacker execute commands — all thanks to a sneaky service parameter! 🔥 Think of it like a restaurant where the chef takes every order at face value, ignoring any suspicious requests. If someone asked for a ‘salad’ but really meant ‘poison’, the chef could end up serving something dangerous! An attacker could exploit this vulnerability to run arbitrary commands on your server, potentially taking control of critical systems or leaking sensitive information. This risk is particularly concerning for applications that rely on the affected functions to gather system data. If you’re using a vulnerable version, it’s like leaving the back door of your server wide open!

Put simply

Think of it like a restaurant where the chef takes every order at face value, ignoring any suspicious requests. If someone asked for a ‘salad’ but really meant ‘poison’, the chef could end up serving something dangerous! The command injection vulnerability in the 'systeminformation' npm package allows attackers to manipulate service parameters in several functions, leading to arbitrary command execution. This occurs in versions prior to 5.3.1, where input sanitation is insufficient.

What to do

An attacker could exploit this vulnerability to run arbitrary commands on your server, potentially taking control of critical systems or leaking sensitive information. This risk is particularly concerning for applications that rely on the affected functions to gather system data. If you’re using a vulnerable version, it’s like leaving the back door of your server wide open! Upgrade to version 5.3.1 of the 'systeminformation' library immediately to close this vulnerability. As a temporary measure, ensure that any service parameters passed to functions like si.inetLatency() and si.services() are thoroughly sanitized, allowing only strings and rejecting arrays. You've got this! By following these steps, you'll be back in control and safeguarding your systems in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.90675 · 99.8th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2021-02-16T17:00Z
KEV added
2022-01-18 · due 2022-02-01
EPSS history
Timeline
  • 18 JAN 00:00Z
    Added to CISA KEV — remediate by Feb 1
    kev
  • 16 FEB 17:00Z
    Command Injection Vulnerability
    cvelistv5