VULNERABILITY INTELLIGENCE
CVE-2024-21892
CVSS score7.8 HIGH
EPSS probability0.56%
CISA KEVNot currently listed
Published2024-02-20
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-94
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-269
Primary references
- support@hackerone.com — Mailing List, Third Party Advisory
- support@hackerone.com — Issue Tracking, Third Party Advisory
- support@hackerone.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory