nday
CVE-2021-21315 GHSA-2m8v-572m-ff2v

Command Injection Vulnerability

Npm package / System Information Library for Node.JS · sebhildebrandt / systeminformation

Added to KEV 336 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: nuclei.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M, NVD's analysts, and NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
nuclei
nuclei templates CVE-2021-21315
stage
KEV
disclosed
disclosure → KEV
T+336d KEV is date-only
cvss
7.1 HIGH v3.1
KEV due date
2022-02-01

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-02-16T17:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
nuclei
ITWexploited
≤ 2022-01-18, inferred from KEV
KEVKEV
2022-01-18, date only

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 7.1, high. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 18746,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-21315",
  "occurred_at": "2021-02-16T17:00:18Z",
  "observed_at": "2026-11-12T15:02:49.796473Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21315",
      "date_added": "2022-01-18"
    },
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N",
      "version": "3.1",
      "base_score": 7.1,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-02-06T19:38:40.650192Z",
      "automatable": "no",
      "exploitation": "active",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2021-02-16T17:00:18.000Z",
    "assigner_short_name": "GitHub_M"
  }
}
2022-01-18date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2022-02-01. Ransomware use: unknown.

src kev · nday , bulk import · raw
{
  "id": 1448,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2022-01-18T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-78"
    ],
    "notes": "https://nvd.nist.gov/vuln/detail/CVE-2021-21315",
    "product": "System Information Library for Node.JS",
    "due_date": "2022-02-01",
    "precision": "day",
    "date_added": "2022-01-18",
    "vendor_project": "Npm package",
    "forensic_triage": "No",
    "required_action": "Apply updates per vendor instructions.",
    "vulnerability_name": "System Information Library for Node.JS Command Injection",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2022-01-18inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2021-21315 (Node.JS System Information Library <5.3.1 - Remote Command Injection). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 54358,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21315.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2021-21315",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21315.yaml",
    "kind": "detection_template",
    "title": "Node.JS System Information Library <5.3.1 - Remote Command Injection",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "7.8",
    "template_id": "CVE-2021-21315",
    "template_path": "http/cves/2021/CVE-2021-21315.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.