CVE-2021-21315

HIGH KEV NUCLEI LAB

Systeminformation < 5.3.1 - OS Command Injection

Title source: rule

Description

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.

Exploits (6)

nomisec WORKING POC 159 stars
by ForbiddenProgrammer · remote
https://github.com/ForbiddenProgrammer/CVE-2021-21315-PoC
nomisec WORKING POC 4 stars
by alikarimi999 · remote
https://github.com/alikarimi999/CVE-2021-21315
nomisec WORKING POC 1 stars
by G01d3nW01f · poc
https://github.com/G01d3nW01f/CVE-2021-21315
gitlab WORKING POC
by securitystuffbackup · poc
https://gitlab.com/securitystuffbackup/CVE-2021-21315-PoC
nomisec WORKING POC
by xMohamed0 · poc
https://github.com/xMohamed0/CVE-2021-21315-POC
nomisec WORKING POC
by MazX0p · remote
https://github.com/MazX0p/CVE-2021-21315-exploit

Nuclei Templates (1)

Node.JS System Information Library <5.3.1 - Remote Command Injection
HIGHby pikpikcu

Scores

CVSS v3 7.1
EPSS 0.9394
EPSS Percentile 99.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Details

CISA KEV 2022-01-18
VulnCheck KEV 2021-06-01
InTheWild.io 2021-07-01
ENISA EUVD EUVD-2021-0527
CWE
CWE-78
Status published
Products (3)
apache/cordova 10.0.0
npm/systeminformation 0 - 5.3.1npm
systeminformation/systeminformation < 5.3.1
Published Feb 16, 2021
KEV Added Jan 18, 2022
Tracked Since Feb 18, 2026