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.
History

Wed, 12 Feb 2025 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Nodejs
Nodejs node.js
CPEs cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
Nodejs
Nodejs node.js
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2025-02-13T17:33:23.003Z

Reserved: 2024-01-03T01:04:06.539Z

Link: CVE-2024-21892

cve-icon Vulnrichment

Updated: 2024-08-01T22:35:34.516Z

cve-icon NVD

Status : Analyzed

Published: 2024-02-20T02:15:50.567

Modified: 2025-02-12T15:17:34.380

Link: CVE-2024-21892

cve-icon Redhat

Severity : Important

Publid Date: 2024-02-16T00:00:00Z

Links: CVE-2024-21892 - Bugzilla