CVE-2021-22921 in Nodejs Node.Js and 3 more products
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.
Affects 4 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nodejs | Node.Js | ≥ 12.0.0, < 12.22.2 ≥ 14.0.0, < 14.17.2 ≥ 16.0.0, < 16.4.1 |
| Siemens | SINEC Infrastructure Network Services | < 1.0.1.1 |
| Siemens | SINEC Ins | < 1.0.1.1 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
Fix and vendor advisory
- SINEC INS: Update to V1.0.1.1 or later version
Source: ICSA-22-069-09
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-22921 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-243163-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2021-07-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Ensure that the Node.js installation directory and its subdirectories have strict permissions, preventing unauthorized users from writing or modifying files. Regularly audit the system for unexpected changes in the PATH environment variable and monitor for suspicious DLL loading activities.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.