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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: hackerone
Published: 2024-02-20T01:31:08.073Z
Updated: 2024-08-01T22:35:34.516Z
Reserved: 2024-01-03T01:04:06.539Z
Link: CVE-2024-21892
Vulnrichment
Updated: 2024-08-01T22:35:34.516Z
NVD
Status : Awaiting Analysis
Published: 2024-02-20T02:15:50.567
Modified: 2024-11-21T08:55:12.463
Link: CVE-2024-21892
Redhat