Skip to content
7.5 High

CVE-2024-21892 On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the…

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.

Affected products and versions

Product Affected versions Fixed in
node.js 21.0 21.0.0 → 21.6.0 No fix stated
Node 21.0 21.0 → < 21.6.2 21.6.2
Node 20.0 20.0 → < 20.11.1 20.11.1
Node 19.0 19.0 → latest No fix stated
Node 18.0 18.0 → < 18.19.1 18.19.1
Node 17.0 17.0 → latest No fix stated
Node 16.0 16.0 → latest No fix stated
Node 15.0 15.0 → latest No fix stated
Node 14.0 14.0 → latest No fix stated
Show the 10 other branches
Product Affected versions Fixed in
Node 13.0 13.0 → latest No fix stated
Node 12.0 12.0 → latest No fix stated
Node 11.0 11.0 → latest No fix stated
Node 10.0 10.0 → latest No fix stated
Node 9.0 9.0 → latest No fix stated
Node 8.0 8.0 → latest No fix stated
Node 7.0 7.0 → latest No fix stated
Node 6.0 6.0 → latest No fix stated
Node 5.0 5.0 → latest No fix stated
Node 4.0 4.0 → latest No fix stated

References

Timeline

  1. Published
  2. Last modified
The 2 CVEs of node.js →
Track this CVE