Vulnerability record · CVE-2024-21892 · published 20 February 2024
CVE-2024-21892: Nodejs node.js code injection vulnerability
Nodejs · Node.Js
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.
Description
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/2237545 | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240322-0003/ | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/2237545 | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240322-0003/ | Third Party Advisory |
Track CVE-2024-21892 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-21892), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.