CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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...

7.5 CVSS

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.

Classification

CVE ID: CVE-2024-21892

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Affected Products

Vendor: Node.js

Product: Node.js

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-03-14 (when was this score calculated)

References

https://hackerone.com/reports/2237545
https://security.netapp.com/advisory/ntap-20240322-0003/
http://www.openwall.com/lists/oss-security/2024/03/11/1

Timeline