Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 18.0.0, < 18.19.1 |
| Linux | Linux Kernel | - |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2024/03/11/1Mailing ListThird Party Advisory
- https://hackerone.com/reports/2237545Issue TrackingThird Party Advisory
- https://security.netapp.com/advisory/ntap-20240322-0003/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/03/11/1Mailing ListThird Party Advisory
- https://hackerone.com/reports/2237545Issue TrackingThird Party Advisory
- https://security.netapp.com/advisory/ntap-20240322-0003/Third Party Advisory
FAQ
What is CVE-2024-21892?
CVE-2024-21892 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2024-21892?
CVE-2024-21892 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21892?
Check the references section above for vendor advisories and patch information. Affected products include: Nodejs Node.Js, Linux Linux Kernel.