CVE-2024-21892 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 12, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackerone.com/reports/2237545 | CVE | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240322-0003/ | CVE | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | CVE | Mailing ListThird Party Advisory |
| https://hackerone.com/reports/2237545 | [email protected] | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20240322-0003/ | [email protected] | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/11/1 | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-269 | Improper Privilege Management | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| nodejs node.js | >= 18.0.0, < 18.19.1 >= 20.0.0, < 20.11.1 >= 21.0.0, < 21.6.2 |
CPE
Remediation
| |
| linux linux kernel | All versions |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Mar 13, 2025 | CVE Modified | CISA-ADP |
| Feb 12, 2025 | Reanalysis | [email protected] |
| Feb 12, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 1, 2024 | CVE Modified | [email protected] |
| Mar 22, 2024 | CVE Modified | [email protected] |
| Feb 20, 2024 | New CVE Received | [email protected] |