ADVISORIES

Vulnerability

CVE-2024-21892

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.

38 advisories report this vulnerability, across 13 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2024-21892

    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…

    CVE-2024-21892 Debian Updated 2 November 2026
  • DSA-5991-1

    nodejs - security update

    CVE-2023-46809CVE-2024-21892CVE-2024-22019CVE-2024-22020 Debian Updated 20 November 2026

References