CVE-2024-21892
20.02.2024, 02:15
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.
Vendor | Product | Version |
---|---|---|
nodejs | node.js | 18.19.0 ≤ 𝑥 ≤ 18.19.0 |
nodejs | node.js | 20.11.0 ≤ 𝑥 ≤ 20.11.0 |
nodejs | node.js | 21.6.0 ≤ 𝑥 ≤ 21.6.0 |
nodejs | node.js | 18.0.0 ≤ 𝑥 < 18.19.1 |
nodejs | node.js | 20.0.0 ≤ 𝑥 < 20.11.1 |
nodejs | node.js | 21.0.0 ≤ 𝑥 < 21.6.2 |
𝑥
= Vulnerable software versions

Debian Releases

Ubuntu Releases
Common Weakness Enumeration
- CWE-94 - Improper Control of Generation of Code ('Code Injection')The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-269 - Improper Privilege ManagementThe software does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
References