CVE-2024-21892
7.8
HIGH
CVSS 3.1
EPSS 0.45%
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.
How to fix CVE-2024-21892
To remediate CVE-2024-21892, upgrade the affected package to a fixed version below.
- —upgrade to 18.19.1 or later
- —upgrade to 18.19.1 or later
- —upgrade to 18.20.4+dfsg-1~deb12u1 or later
Is CVE-2024-21892 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 18.19.1, >= 19.0.0, < 20.11.1, >= 21.0.0, < 21.6.2
- from 0, < 18.19.1, >= 19.0.0, < 20.11.1, >= 21.0.0, < 21.6.2
- from 0, < 18.20.4+dfsg-1~deb12u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |