CVE-2021-22921
JSON

7.8high

Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platfor…

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
7.43% (higher than 94% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2021-22921BIT-NODE-MIN-2021-22921

Description

Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specifically, improper configuration of permissions in the installation directory allows an attacker to perform two different escalation attacks: PATH and DLL hijacking.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 5 moreCVE List
nodejs node.jsfrom 12.0.0 before 12.22.2, from 14.0.0 before 14.17.2, from 16.0.0 before 16.4.1NVD
siemens sinec_infrastructure_network_servicesbefore 1.0.1.1NVD
node (Bitnami)from 12.0.0 before 12.22.2, from 14.0.0 before 14.17.2, from 16.0.0 before 16.4.1Bitnami Vulnerability Database
node-min (Bitnami)from 12.0.0 before 12.22.2, from 14.0.0 before 14.17.2, from 16.0.0 before 16.4.1Bitnami Vulnerability Database

All scores

NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD4.4medium CVSS:2.0AV:L/AC:M/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specifically, improper configuration of permissions in the installation directory allows an attacker to perform two different escalation attacks: PATH and DLL hijacking.

NVD (es)

Node.js versiones anteriores a 16.4.1, 14.17.2 y 12.22.2, es vulnerable a ataques de escalada de privilegios locales bajo determinadas condiciones en plataformas Windows. Más concretamente, una configuración inapropiada de los permisos en el directorio de instalación permite a un atacante llevar a cabo dos ataques de escalada diferentes: PATH y secuestro de DLL

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22921 changed 2025-04-30CVE Terms of Use
NVDCVE-2021-22921 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2021-22921 changed 2026-10-16Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2021-22921 changed 2026-10-16Apache-2.0