Live threats

All CVEs / Nodejs

CVE-2024-21892Nodejs Node.js

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 42
Auth required
Yes
Published
Feb 20, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-269
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node.js.

Affected products (CPE)

VendorProductVersions
nodejsnode.js≥ 18.0.0 < 18.19.1
nodejsnode.js≥ 20.0.0 < 20.11.1
nodejsnode.js≥ 21.0.0 < 21.6.2

Official sources

References

Links published by the sources. Open them with care.