CVE-2024-21892
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
20/02/2024
Last modified:
13/03/2025
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.<br />
Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set.<br />
This allows unprivileged users to inject code that inherits the process&#39;s elevated privileges.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* | 18.0.0 (including) | 18.19.1 (excluding) |
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* | 20.0.0 (including) | 20.11.1 (excluding) |
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* | 21.0.0 (including) | 21.6.2 (excluding) |
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://www.openwall.com/lists/oss-security/2024/03/11/1
- https://hackerone.com/reports/2237545
- https://security.netapp.com/advisory/ntap-20240322-0003/
- http://www.openwall.com/lists/oss-security/2024/03/11/1
- https://hackerone.com/reports/2237545
- https://security.netapp.com/advisory/ntap-20240322-0003/