« List of all CVEs

CVE-2024-21892

Published: 2/20/2024 Last updated: 4/30/2025 Reserved: 1/3/2024

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.

CNA assigner: hackerone (36234546-b8fa-4601-9d6f-f4e334aa8ea1) Requested by: n/a

Metrics

Version Score Severity Vector String
3.0 7.5 High CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Opam packages affected (1)

conf-npm

Products affected (1)

Product Vendor Version
Node NodeJS <= 6.7.*

References (6)