CVE-2024-21892 in Nodejs and 2 more products
On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.
Affects 3 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Nodejs | Nodejs | ≥ 18.0.0, < 18.19.1 ≥ 18.0.0, ≤ 18.19.0 ≥ 20.0.0, < 20.11.1 ≥ 20.0.0, ≤ 20.11.0 ≥ 21.0.0, < 21.6.2 ≥ 21.0.0, ≤ 21.6.0 |
| Nodejs | Node.Js | ≥ 18.0.0, < 18.19.1 ≥ 18.0.0, ≤ 18.19.0 ≥ 20.0.0, < 20.11.1 ≥ 20.0.0, ≤ 20.11.0 ≥ 21.0.0, < 21.6.2 ≥ 21.0.0, ≤ 21.6.0 |
| Siemens | — | — |
| Siemens | Sinec Ins | < 1.0 SP2 Update 3 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Linux Linux Kernel
Fix and vendor advisory
- SINEC INS: Update to V1.0 SP2 Update 3 or later version
Source: ICSA-24-319-08
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2024-21892 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-188069-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-02-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict user permission controls and monitor for unusual activity in processes running with elevated privileges. Use application whitelisting to restrict the execution of unauthorized code.
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.