Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2024-21892


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.


Published

2024-02-20T02:15:50.567

Last Modified

2025-03-13T15:15:41.433

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.8 (HIGH)

Weaknesses
  • Type: Primary
    CWE-94
  • Type: Secondary
    CWE-269

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application nodejs node.js < 18.19.1 Yes
Application nodejs node.js < 20.11.1 Yes
Application nodejs node.js < 21.6.2 Yes
Operating System linux linux_kernel - No

References