← Back

CVE-2024-21892

nvd nist
Published: Feb 20, 2024Modified: Jun 17, 2026

JSON object

Loading...
7.8
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability: 1.8 / Impact: 5.9
Source: NVD

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 (3)

Products: Nodejs: Node.js
1 product
Node.js
Configuration A
3 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
Nodejs
From 18.0.0 to 18.19.1
From 20.0.0 to 20.11.1
From 21.0.0 to 21.6.2
Running on/withPlatform Versions
Linux
Linux Kernel
All versions

References (6)

Source: support@hackerone.com
Mailing ListThird Party Advisory
Source: support@hackerone.com
Issue TrackingThird Party Advisory
Source: support@hackerone.com
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Issue TrackingThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.