Vulnerability

CVE-2024-21892

highCVSS 3.1 7.8Published 20 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Linux linux kernel
  • Node.js node.js

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning