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…

High · published February 20, 2024

CVSS v3.0
7.5
EPSS
1%
Percentile
46.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00562 · 46.0th percentile
Published
2024-02-20T01:31Z
EPSS history
Timeline
  • 20 FEB 01:31Z
    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…
    cvelistv5